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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxFileType swig_types[8]
218 #define SWIGTYPE_p_wxLogGui swig_types[9]
219 #define SWIGTYPE_p_wxFont swig_types[10]
220 #define SWIGTYPE_p_wxDataFormat swig_types[11]
221 #define SWIGTYPE_p_wxTimerEvent swig_types[12]
222 #define SWIGTYPE_p_wxCaret swig_types[13]
223 #define SWIGTYPE_p_int swig_types[14]
224 #define SWIGTYPE_p_wxSize swig_types[15]
225 #define SWIGTYPE_p_wxClipboard swig_types[16]
226 #define SWIGTYPE_p_wxStopWatch swig_types[17]
227 #define SWIGTYPE_p_wxDC swig_types[18]
228 #define SWIGTYPE_p_wxClipboardLocker swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxLogStderr swig_types[21]
231 #define SWIGTYPE_p_wxLogTextCtrl swig_types[22]
232 #define SWIGTYPE_p_wxTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxBusyCursor swig_types[24]
234 #define SWIGTYPE_p_wxPyTextDataObject swig_types[25]
235 #define SWIGTYPE_p_wxBitmapDataObject swig_types[26]
236 #define SWIGTYPE_p_wxTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxDataObject swig_types[28]
238 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxFileDataObject swig_types[30]
240 #define SWIGTYPE_p_wxCustomDataObject swig_types[31]
241 #define SWIGTYPE_p_wxURLDataObject swig_types[32]
242 #define SWIGTYPE_p_wxMetafileDataObject swig_types[33]
243 #define SWIGTYPE_p_wxSound swig_types[34]
244 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
245 #define SWIGTYPE_p_wxLogWindow swig_types[36]
246 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
247 #define SWIGTYPE_p_wxArrayString swig_types[38]
248 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
249 #define SWIGTYPE_p_wxToolTip swig_types[40]
250 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
251 #define SWIGTYPE_p_wxFileConfig swig_types[42]
252 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
253 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
254 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
255 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
256 #define SWIGTYPE_p_wxRect swig_types[47]
257 #define SWIGTYPE_p_char swig_types[48]
258 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
259 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
260 #define SWIGTYPE_p_wxFrame swig_types[51]
261 #define SWIGTYPE_p_wxTimer swig_types[52]
262 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
263 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
264 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
265 #define SWIGTYPE_p_wxTipProvider swig_types[56]
266 #define SWIGTYPE_p_wxJoystick swig_types[57]
267 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
268 #define SWIGTYPE_p_wxPoint swig_types[59]
269 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
270 #define SWIGTYPE_p_wxCursor swig_types[61]
271 #define SWIGTYPE_p_wxObject swig_types[62]
272 #define SWIGTYPE_p_wxOutputStream swig_types[63]
273 #define SWIGTYPE_p_wxDateTime swig_types[64]
274 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
275 #define SWIGTYPE_p_wxWindow swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyProcess swig_types[68]
278 #define SWIGTYPE_p_wxBitmap swig_types[69]
279 #define SWIGTYPE_p_wxConfig swig_types[70]
280 #define SWIGTYPE_p_wxChar swig_types[71]
281 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
282 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
283 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
284 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
286 #define SWIGTYPE_p_wxPyLog swig_types[77]
287 #define SWIGTYPE_p_wxLogNull swig_types[78]
288 #define SWIGTYPE_p_wxColour swig_types[79]
289 #define SWIGTYPE_p_wxByte swig_types[80]
290 #define SWIGTYPE_p_wxConfigPathChanger swig_types[81]
291 #define SWIGTYPE_p_wxPyTimer swig_types[82]
292 #define SWIGTYPE_p_wxDateSpan swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
300 ------------------------------------------------*/
301 #define SWIG_init init_misc
303 #define SWIG_name "_misc"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350 #include "wx/wxPython/pyistream.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value
, const char* type
,
362 long min_value
, long max_value
)
364 if (!PyErr_Occurred()) {
365 if (value
< min_value
) {
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value
, type
, min_value
);
370 PyErr_SetObject(PyExc_OverflowError
, err
);
372 } else if (value
> max_value
) {
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value
, type
, max_value
);
376 PyErr_SetObject(PyExc_OverflowError
, err
);
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject
* obj
)
387 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject
*obj
)
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
397 "int", INT_MIN
, INT_MAX
));
400 #define SWIG_AsInt SWIG_AsLong
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject
* obj
)
408 if (PyErr_Occurred()) {
416 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
417 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
418 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
420 SWIGSTATICINLINE(int)
421 SWIG_CheckLong(PyObject
* obj
)
424 if (PyErr_Occurred()) {
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject
*obj
)
436 return PyObject_IsTrue(obj
) ? true : false;
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject
* obj
)
444 if (PyErr_Occurred()) {
453 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
459 } else if (target
== Py_None
) {
463 if (!PyTuple_Check(target
)) {
465 target
= PyTuple_New(1);
466 PyTuple_SetItem(target
, 0, o2
);
469 PyTuple_SetItem(o3
, 0, o
);
472 target
= PySequence_Concat(o2
, o3
);
480 long wxGetFreeMemory()
481 { wxPyRaiseNotImplemented(); return 0; }
484 SWIGSTATICINLINE(unsigned long)
485 SWIG_AsUnsignedLong(PyObject
* obj
)
487 if (PyLong_Check(obj
)) {
488 return PyLong_AsUnsignedLong(obj
);
490 long i
= PyInt_AsLong(obj
);
491 if ( !PyErr_Occurred() && (i
< 0)) {
492 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
499 SWIGSTATICINLINE(int)
500 SWIG_CheckUnsignedLong(PyObject
* obj
)
502 SWIG_AsUnsignedLong(obj
);
503 if (PyErr_Occurred()) {
512 SWIGSTATICINLINE(PyObject
* )
513 SWIG_FromUnsignedLong(unsigned long value
)
515 return (value
> LONG_MAX
) ?
516 PyLong_FromUnsignedLong(value
)
517 : PyInt_FromLong(swig_numeric_cast(long,value
));
521 bool wxGetKeyState(wxKeyCode key
)
522 { wxPyRaiseNotImplemented(); return False
; }
525 void wxWakeUpMainThread() {}
528 bool wxThread_IsMain() {
529 #ifdef WXP_WITH_THREAD
530 return wxThread::IsMain();
537 int wxCaret_GetBlinkTime() {
538 return wxCaret::GetBlinkTime();
541 void wxCaret_SetBlinkTime(int milliseconds
) {
542 wxCaret::SetBlinkTime(milliseconds
);
546 #include <wx/snglinst.h>
550 #include <wx/msw/private.h>
551 #include <wx/dynload.h>
556 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
563 // This one only partially works. Appears to be an undocumented
564 // "standard" convention that not all widgets adhear to. For
565 // example, for some widgets backgrounds or non-client areas may
567 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
571 // This one works much better, except for on XP. On Win2k nearly
572 // all widgets and their children are captured correctly[**]. On
573 // XP with Themes activated most native widgets draw only
574 // partially, if at all. Without themes it works just like on
577 // ** For example the radio buttons in a wxRadioBox are not its
578 // children by default, but you can capture it via the panel
579 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
580 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
581 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
582 PRF_ERASEBKGND
| PRF_OWNED
);
586 // This one is only defined in the latest SDK and is only
587 // available on XP. MSDN says it is similar to sending WM_PRINT
588 // so I expect that it will work similar to the above. Since it
589 // is avaialble only on XP, it can't be compiled like this and
590 // will have to be loaded dynamically.
591 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
596 // Use PrintWindow if available, or fallback to WM_PRINT
597 // otherwise. Unfortunately using PrintWindow is even worse than
598 // WM_PRINT. For most native widgets nothing is drawn to the dc
599 // at all, with or without Themes.
600 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
601 static bool s_triedToLoad
= False
;
602 static PrintWindow_t pfnPrintWindow
= NULL
;
603 if ( !s_triedToLoad
)
606 s_triedToLoad
= True
;
607 wxDynamicLibrary
dllUser32(_T("user32.dll"));
608 if ( dllUser32
.IsLoaded() )
610 wxLogNull nolog
; // Don't report errors here
611 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
616 printf("Using PrintWindow\n");
617 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
621 printf("Using WM_PRINT\n");
622 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
623 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
631 #include <wx/tipdlg.h>
634 class wxPyTipProvider
: public wxTipProvider
{
636 wxPyTipProvider(size_t currentTip
)
637 : wxTipProvider(currentTip
) {}
639 DEC_PYCALLBACK_STRING__pure(GetTip
);
640 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
644 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
645 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
648 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
651 SWIGSTATICINLINE(PyObject
*)
652 SWIG_FromCharPtr(const char* cptr
)
654 size_t size
= cptr
? strlen(cptr
) : 0;
656 if (size
> INT_MAX
) {
657 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
658 SWIG_TypeQuery("char *"), 0);
660 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
669 SWIGSTATICINLINE(unsigned long)
670 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
671 unsigned long max_value
)
673 if (!PyErr_Occurred()) {
674 if (value
> max_value
) {
676 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
677 value
, type
, max_value
);
678 PyErr_SetObject(PyExc_OverflowError
, err
);
686 #if UINT_MAX != ULONG_MAX
687 SWIGSTATICINLINE(unsigned int)
688 SWIG_AsUnsignedInt(PyObject
*obj
)
690 return swig_numeric_cast(unsigned int,
691 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
692 "unsigned int", UINT_MAX
));
695 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
699 SWIGSTATICINLINE(int)
700 SWIG_CheckUnsignedInt(PyObject
* obj
)
702 SWIG_AsUnsignedInt(obj
);
703 if (PyErr_Occurred()) {
711 wxString
Log_TimeStamp(){
713 wxLog::TimeStamp(&msg
);
716 void wxLog_Destroy(wxLog
*self
){ delete self
; }
718 // A wxLog class that can be derived from in wxPython
719 class wxPyLog
: public wxLog
{
721 wxPyLog() : wxLog() {}
723 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
725 wxPyBeginBlockThreads();
726 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
727 PyObject
* s
= wx2PyString(szString
);
728 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
731 wxPyEndBlockThreads();
733 wxLog::DoLog(level
, szString
, t
);
736 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
738 wxPyBeginBlockThreads();
739 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
740 PyObject
* s
= wx2PyString(szString
);
741 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
744 wxPyEndBlockThreads();
746 wxLog::DoLogString(szString
, t
);
755 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
758 #include <wx/joystick.h>
761 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
762 // A C++ stub class for wxJoystick for platforms that don't have it.
763 class wxJoystick
: public wxObject
{
765 wxJoystick(int joystick
= wxJOYSTICK1
) {
766 wxPyBeginBlockThreads();
767 PyErr_SetString(PyExc_NotImplementedError
,
768 "wxJoystick is not available on this platform.");
769 wxPyEndBlockThreads();
771 wxPoint
GetPosition() { return wxPoint(-1,-1); }
772 int GetZPosition() { return -1; }
773 int GetButtonState() { return -1; }
774 int GetPOVPosition() { return -1; }
775 int GetPOVCTSPosition() { return -1; }
776 int GetRudderPosition() { return -1; }
777 int GetUPosition() { return -1; }
778 int GetVPosition() { return -1; }
779 int GetMovementThreshold() { return -1; }
780 void SetMovementThreshold(int threshold
) {}
782 bool IsOk(void) { return False
; }
783 int GetNumberJoysticks() { return -1; }
784 int GetManufacturerId() { return -1; }
785 int GetProductId() { return -1; }
786 wxString
GetProductName() { return ""; }
787 int GetXMin() { return -1; }
788 int GetYMin() { return -1; }
789 int GetZMin() { return -1; }
790 int GetXMax() { return -1; }
791 int GetYMax() { return -1; }
792 int GetZMax() { return -1; }
793 int GetNumberButtons() { return -1; }
794 int GetNumberAxes() { return -1; }
795 int GetMaxButtons() { return -1; }
796 int GetMaxAxes() { return -1; }
797 int GetPollingMin() { return -1; }
798 int GetPollingMax() { return -1; }
799 int GetRudderMin() { return -1; }
800 int GetRudderMax() { return -1; }
801 int GetUMin() { return -1; }
802 int GetUMax() { return -1; }
803 int GetVMin() { return -1; }
804 int GetVMax() { return -1; }
806 bool HasRudder() { return False
; }
807 bool HasZ() { return False
; }
808 bool HasU() { return False
; }
809 bool HasV() { return False
; }
810 bool HasPOV() { return False
; }
811 bool HasPOV4Dir() { return False
; }
812 bool HasPOVCTS() { return False
; }
814 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
815 bool ReleaseCapture() { return False
; }
820 #include <wx/sound.h>
824 // A C++ stub class for wxWave for platforms that don't have it.
825 class wxSound
: public wxObject
829 wxPyBeginBlockThreads();
830 PyErr_SetString(PyExc_NotImplementedError
,
831 "wxSound is not available on this platform.");
832 wxPyEndBlockThreads();
834 wxSound(const wxString
&, bool) {
835 wxPyBeginBlockThreads();
836 PyErr_SetString(PyExc_NotImplementedError
,
837 "wxSound is not available on this platform.");
838 wxPyEndBlockThreads();
840 wxSound(int, const wxByte
*) {
841 wxPyBeginBlockThreads();
842 PyErr_SetString(PyExc_NotImplementedError
,
843 "wxSound is not available on this platform.");
844 wxPyEndBlockThreads();
849 bool Create(const wxString
&, bool) { return false; }
850 bool Create(int, const wxByte
*) { return false; };
851 bool IsOk() { return false; };
852 bool Play(unsigned) const { return false; }
853 static bool Play(const wxString
&, unsigned) { return false; }
854 static void Stop() {}
860 #include <wx/mimetype.h>
862 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
864 if (self
->GetMimeType(&str
))
865 return wx2PyString(str
);
869 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
871 if (self
->GetMimeTypes(arr
))
872 return wxArrayString2PyList_helper(arr
);
876 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
878 if (self
->GetExtensions(arr
))
879 return wxArrayString2PyList_helper(arr
);
883 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
885 if (self
->GetIcon(&loc
))
886 return new wxIcon(loc
);
890 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
892 if (self
->GetIcon(&loc
)) {
893 wxString iconFile
= loc
.GetFileName();
898 // Make a tuple and put the values in it
899 wxPyBeginBlockThreads();
900 PyObject
* tuple
= PyTuple_New(3);
901 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
902 wxT("wxIcon"), True
));
903 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
904 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
905 wxPyEndBlockThreads();
911 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
913 if (self
->GetDescription(&str
))
914 return wx2PyString(str
);
918 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
920 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
921 return wx2PyString(str
);
925 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
927 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
928 return wx2PyString(str
);
932 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
934 wxArrayString commands
;
935 if (self
->GetAllCommands(&verbs
, &commands
,
936 wxFileType::MessageParameters(filename
, mimetype
))) {
937 wxPyBeginBlockThreads();
938 PyObject
* tuple
= PyTuple_New(2);
939 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
940 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
941 wxPyEndBlockThreads();
947 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
948 return wxFileType::ExpandCommand(command
,
949 wxFileType::MessageParameters(filename
, mimetype
));
951 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
953 self
->EnumAllFileTypes(arr
);
954 return wxArrayString2PyList_helper(arr
);
957 #include <wx/artprov.h>
959 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
960 static const wxString
wxPyART_MENU(wxART_MENU
);
961 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
962 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
963 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
964 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
965 static const wxString
wxPyART_OTHER(wxART_OTHER
);
966 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
967 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
968 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
969 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
970 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
971 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
972 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
973 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
974 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
975 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
976 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
977 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
978 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
979 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
980 static const wxString
wxPyART_PRINT(wxART_PRINT
);
981 static const wxString
wxPyART_HELP(wxART_HELP
);
982 static const wxString
wxPyART_TIP(wxART_TIP
);
983 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
984 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
985 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
986 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
987 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
988 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
989 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
990 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
991 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
992 static const wxString
wxPyART_ERROR(wxART_ERROR
);
993 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
994 static const wxString
wxPyART_WARNING(wxART_WARNING
);
995 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
996 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
997 // Python aware wxArtProvider
998 class wxPyArtProvider
: public wxArtProvider
{
1001 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1002 const wxArtClient
& client
,
1003 const wxSize
& size
) {
1004 wxBitmap rval
= wxNullBitmap
;
1005 wxPyBeginBlockThreads();
1006 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1007 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1011 s1
= wx2PyString(id
);
1012 s2
= wx2PyString(client
);
1013 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1018 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1023 wxPyEndBlockThreads();
1030 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1034 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1035 PyObject
* ret
= PyTuple_New(3);
1037 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1038 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1039 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1044 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1049 cont
= self
->GetFirstGroup(value
, index
);
1050 return __EnumerationHelper(cont
, value
, index
);
1052 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1056 cont
= self
->GetNextGroup(value
, index
);
1057 return __EnumerationHelper(cont
, value
, index
);
1059 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1064 cont
= self
->GetFirstEntry(value
, index
);
1065 return __EnumerationHelper(cont
, value
, index
);
1067 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1071 cont
= self
->GetNextEntry(value
, index
);
1072 return __EnumerationHelper(cont
, value
, index
);
1074 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1076 self
->Read(key
, &rv
, defaultVal
);
1080 SWIGSTATICINLINE(double)
1081 SWIG_AsDouble(PyObject
*obj
)
1083 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1085 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1087 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1089 if (PyErr_Occurred()) {
1091 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1097 SWIGSTATICINLINE(int)
1098 SWIG_CheckDouble(PyObject
* obj
)
1101 if (PyErr_Occurred()) {
1109 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1111 self
->Read(key
, &rv
, defaultVal
);
1114 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1116 self
->Read(key
, &rv
, defaultVal
);
1120 #include <wx/datetime.h>
1123 static const wxString
wxPyDateFormatStr(wxT("%c"));
1124 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1126 #define LOCAL_TZ wxDateTime::Local
1129 #if UINT_MAX < LONG_MAX
1130 #define SWIG_FromUnsignedInt SWIG_FromLong
1132 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1135 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1136 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1137 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1138 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1139 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1140 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1141 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1142 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1143 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1144 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1145 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1146 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1148 const wxChar
* _date
= date
;
1149 rv
= self
->ParseRfc822Date(_date
);
1150 if (rv
== NULL
) return -1;
1153 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1155 const wxChar
* _date
= date
;
1156 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1157 if (rv
== NULL
) return -1;
1160 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1162 const wxChar
* _datetime
= datetime
;
1163 rv
= self
->ParseDateTime(_datetime
);
1164 if (rv
== NULL
) return -1;
1165 return rv
- _datetime
;
1167 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1169 const wxChar
* _date
= date
;
1170 rv
= self
->ParseDate(_date
);
1171 if (rv
== NULL
) return -1;
1174 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1176 const wxChar
* _time
= time
;
1177 rv
= self
->ParseTime(_time
);
1178 if (rv
== NULL
) return -1;
1181 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1182 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1183 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1184 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1185 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1186 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1187 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1188 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1189 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1190 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1191 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1192 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1193 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1194 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1195 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1196 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1198 #include <wx/dataobj.h>
1200 // Create a new class for wxPython to use
1201 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1203 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1204 : wxDataObjectSimple(format
) {}
1206 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1207 bool GetDataHere(void *buf
) const;
1208 bool SetData(size_t len
, const void *buf
) const;
1212 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1214 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1215 // We need to get the data for this object and write it to buf. I think
1216 // the best way to do this for wxPython is to have the Python method
1217 // return either a string or None and then act appropriately with the
1221 wxPyBeginBlockThreads();
1222 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1224 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1226 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1228 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1232 wxPyEndBlockThreads();
1236 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1237 // For this one we simply need to make a string from buf and len
1238 // and send it to the Python method.
1240 wxPyBeginBlockThreads();
1241 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1242 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1243 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1246 wxPyEndBlockThreads();
1250 // Create a new class for wxPython to use
1251 class wxPyTextDataObject
: public wxTextDataObject
{
1253 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1254 : wxTextDataObject(text
) {}
1256 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1257 DEC_PYCALLBACK_STRING__const(GetText
);
1258 DEC_PYCALLBACK__STRING(SetText
);
1262 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1263 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1264 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1267 // Create a new class for wxPython to use
1268 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1270 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1271 : wxBitmapDataObject(bitmap
) {}
1273 wxBitmap
GetBitmap() const;
1274 void SetBitmap(const wxBitmap
& bitmap
);
1278 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1279 wxBitmap
* rval
= &wxNullBitmap
;
1280 wxPyBeginBlockThreads();
1281 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1284 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1286 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1291 wxPyEndBlockThreads();
1295 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1296 wxPyBeginBlockThreads();
1297 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1298 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1299 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1302 wxPyEndBlockThreads();
1305 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1306 if (PyString_Check(data
)) {
1307 // for Python we just call SetData here since we always need it to make a copy.
1308 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1311 // raise a TypeError if not a string
1312 PyErr_SetString(PyExc_TypeError
, "String expected.");
1315 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1316 if (PyString_Check(data
)) {
1317 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1320 // raise a TypeError if not a string
1321 PyErr_SetString(PyExc_TypeError
, "String expected.");
1325 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1326 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1329 class wxMetafileDataObject
: public wxDataObjectSimple
1332 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1336 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1339 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1340 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1341 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1342 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1343 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1346 class wxPyTextDropTarget
: public wxTextDropTarget
{
1348 wxPyTextDropTarget() {}
1350 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1352 DEC_PYCALLBACK__(OnLeave
);
1353 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1354 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1355 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1356 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1361 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1362 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1363 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1364 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1365 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1366 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1370 class wxPyFileDropTarget
: public wxFileDropTarget
{
1372 wxPyFileDropTarget() {}
1374 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1376 DEC_PYCALLBACK__(OnLeave
);
1377 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1378 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1379 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1380 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1385 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1386 const wxArrayString
& filenames
) {
1388 wxPyBeginBlockThreads();
1389 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1390 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1391 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1394 wxPyEndBlockThreads();
1400 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1401 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1402 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1403 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1404 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1409 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1413 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
*resultobj
;
1417 PyObject
* obj0
= 0 ;
1419 (char *) "index", NULL
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1423 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1433 wxColour
* resultptr
;
1434 resultptr
= new wxColour((wxColour
&) result
);
1435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1443 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
*resultobj
;
1447 PyObject
* obj0
= 0 ;
1449 (char *) "index", NULL
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1453 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1464 resultptr
= new wxFont((wxFont
&) result
);
1465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1473 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1477 PyObject
* obj0
= 0 ;
1479 (char *) "index", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1483 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1492 resultobj
= SWIG_FromInt((int)result
);
1499 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "index", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1525 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (int)wxSystemSettings::GetScreenType();
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 resultobj
= SWIG_FromInt((int)result
);
1547 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1550 PyObject
* obj0
= 0 ;
1552 (char *) "screen", NULL
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1556 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1565 Py_INCREF(Py_None
); resultobj
= Py_None
;
1572 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1575 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1577 return Py_BuildValue((char *)"");
1579 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxSystemOptions
*result
;
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 result
= (wxSystemOptions
*)new wxSystemOptions();
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1601 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
*resultobj
;
1603 wxString
*arg1
= 0 ;
1604 wxString
*arg2
= 0 ;
1605 bool temp1
= False
;
1606 bool temp2
= False
;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1610 (char *) "name",(char *) "value", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1615 arg1
= wxString_in_helper(obj0
);
1616 if (arg1
== NULL
) SWIG_fail
;
1620 arg2
= wxString_in_helper(obj1
);
1621 if (arg2
== NULL
) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 Py_INCREF(Py_None
); resultobj
= Py_None
;
1654 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1656 wxString
*arg1
= 0 ;
1658 bool temp1
= False
;
1659 PyObject
* obj0
= 0 ;
1660 PyObject
* obj1
= 0 ;
1662 (char *) "name",(char *) "value", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1667 arg1
= wxString_in_helper(obj0
);
1668 if (arg1
== NULL
) SWIG_fail
;
1671 arg2
= (int) SWIG_AsInt(obj1
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1680 Py_INCREF(Py_None
); resultobj
= Py_None
;
1695 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxString
*arg1
= 0 ;
1699 bool temp1
= False
;
1700 PyObject
* obj0
= 0 ;
1702 (char *) "name", NULL
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1707 arg1
= wxString_in_helper(obj0
);
1708 if (arg1
== NULL
) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1739 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxString
*arg1
= 0 ;
1743 bool temp1
= False
;
1744 PyObject
* obj0
= 0 ;
1746 (char *) "name", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1751 arg1
= wxString_in_helper(obj0
);
1752 if (arg1
== NULL
) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 resultobj
= SWIG_FromInt((int)result
);
1777 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxString
*arg1
= 0 ;
1781 bool temp1
= False
;
1782 PyObject
* obj0
= 0 ;
1784 (char *) "name", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1789 arg1
= wxString_in_helper(obj0
);
1790 if (arg1
== NULL
) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1815 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1818 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1820 return Py_BuildValue((char *)"");
1822 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1823 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1828 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1833 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1835 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1842 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1843 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1848 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1853 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1855 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1862 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1863 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1868 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1873 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1875 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1882 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 result
= (long)wxNewId();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 resultobj
= SWIG_FromLong((long)result
);
1904 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1907 PyObject
* obj0
= 0 ;
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1913 arg1
= (long) SWIG_AsLong(obj0
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 Py_INCREF(Py_None
); resultobj
= Py_None
;
1929 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (long)wxGetCurrentId();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= SWIG_FromLong((long)result
);
1951 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 bool arg1
= (bool) True
;
1997 PyObject
* obj0
= 0 ;
1999 (char *) "resetTimer", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2004 arg1
= (bool) SWIG_AsBool(obj0
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (long)wxGetElapsedTime(arg1
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= SWIG_FromLong((long)result
);
2021 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 int *arg1
= (int *) 0 ;
2024 int *arg2
= (int *) 0 ;
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 wxGetMousePosition(arg1
,arg2
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2044 resultobj
= t_output_helper(resultobj
,o
);
2047 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2048 resultobj
= t_output_helper(resultobj
,o
);
2056 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 result
= (bool)wxIsBusy();
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2078 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
*resultobj
;
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2106 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2109 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2111 bool temp1
= False
;
2112 PyObject
* obj0
= 0 ;
2114 (char *) "command", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2120 arg1
= wxString_in_helper(obj0
);
2121 if (arg1
== NULL
) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= (bool)wxShell((wxString
const &)*arg1
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2147 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 Py_INCREF(Py_None
); resultobj
= Py_None
;
2168 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 int *arg1
= (int *) 0 ;
2171 int *arg2
= (int *) 0 ;
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= (int)wxGetOsVersion(arg1
,arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 resultobj
= SWIG_FromInt((int)result
);
2191 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2192 resultobj
= t_output_helper(resultobj
,o
);
2195 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2196 resultobj
= t_output_helper(resultobj
,o
);
2204 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 result
= wxGetOsDescription();
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2232 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= (long)wxGetFreeMemory();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 resultobj
= SWIG_FromLong((long)result
);
2254 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2258 PyObject
* obj0
= 0 ;
2260 (char *) "wFlags", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2264 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2280 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "secs", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2289 arg1
= (int) SWIG_AsInt(obj0
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 Py_INCREF(Py_None
); resultobj
= Py_None
;
2305 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 unsigned long arg1
;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "milliseconds", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2314 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 Py_INCREF(Py_None
); resultobj
= Py_None
;
2330 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2333 PyObject
* obj0
= 0 ;
2335 (char *) "enable", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2339 arg1
= (bool) SWIG_AsBool(obj0
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 wxEnableTopLevelWindows(arg1
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2348 Py_INCREF(Py_None
); resultobj
= Py_None
;
2355 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
*resultobj
;
2357 wxString
*arg1
= 0 ;
2359 bool temp1
= False
;
2360 PyObject
* obj0
= 0 ;
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2367 arg1
= wxString_in_helper(obj0
);
2368 if (arg1
== NULL
) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2399 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= wxGetEmailAddress();
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2427 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= wxGetHostName();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2455 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= wxGetFullHostName();
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2483 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 result
= wxGetUserId();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2511 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= wxGetUserName();
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2539 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 result
= wxGetHomeDir();
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2567 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2570 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2572 bool temp1
= False
;
2573 PyObject
* obj0
= 0 ;
2575 (char *) "user", NULL
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2581 arg1
= wxString_in_helper(obj0
);
2582 if (arg1
== NULL
) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 result
= wxGetUserHome((wxString
const &)*arg1
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2614 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 unsigned long result
;
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (unsigned long)wxGetProcessId();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2636 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 Py_INCREF(Py_None
); resultobj
= Py_None
;
2657 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2660 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2661 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2662 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2663 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2665 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2666 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2667 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2668 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2669 int arg6
= (int) 0 ;
2670 wxWindow
*arg7
= (wxWindow
*) NULL
;
2671 int arg8
= (int) -1 ;
2672 int arg9
= (int) -1 ;
2674 bool temp1
= False
;
2675 bool temp2
= False
;
2676 bool temp3
= False
;
2677 bool temp4
= False
;
2678 bool temp5
= False
;
2679 PyObject
* obj0
= 0 ;
2680 PyObject
* obj1
= 0 ;
2681 PyObject
* obj2
= 0 ;
2682 PyObject
* obj3
= 0 ;
2683 PyObject
* obj4
= 0 ;
2684 PyObject
* obj5
= 0 ;
2685 PyObject
* obj6
= 0 ;
2686 PyObject
* obj7
= 0 ;
2687 PyObject
* obj8
= 0 ;
2689 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2695 arg1
= wxString_in_helper(obj0
);
2696 if (arg1
== NULL
) SWIG_fail
;
2702 arg2
= wxString_in_helper(obj1
);
2703 if (arg2
== NULL
) SWIG_fail
;
2709 arg3
= wxString_in_helper(obj2
);
2710 if (arg3
== NULL
) SWIG_fail
;
2716 arg4
= wxString_in_helper(obj3
);
2717 if (arg4
== NULL
) SWIG_fail
;
2723 arg5
= wxString_in_helper(obj4
);
2724 if (arg5
== NULL
) SWIG_fail
;
2729 arg6
= (int) SWIG_AsInt(obj5
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2733 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg8
= (int) SWIG_AsInt(obj7
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 arg9
= (int) SWIG_AsInt(obj8
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2804 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxString
*arg1
= 0 ;
2807 wxString
*arg2
= 0 ;
2808 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2809 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2810 wxWindow
*arg4
= (wxWindow
*) NULL
;
2812 bool temp1
= False
;
2813 bool temp2
= False
;
2814 bool temp3
= False
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2820 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2825 arg1
= wxString_in_helper(obj0
);
2826 if (arg1
== NULL
) SWIG_fail
;
2830 arg2
= wxString_in_helper(obj1
);
2831 if (arg2
== NULL
) SWIG_fail
;
2836 arg3
= wxString_in_helper(obj2
);
2837 if (arg3
== NULL
) SWIG_fail
;
2842 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2889 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxString
*arg1
= 0 ;
2892 wxString
*arg2
= 0 ;
2893 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2895 wxWindow
*arg4
= (wxWindow
*) NULL
;
2897 bool temp1
= False
;
2898 bool temp2
= False
;
2899 bool temp3
= False
;
2900 PyObject
* obj0
= 0 ;
2901 PyObject
* obj1
= 0 ;
2902 PyObject
* obj2
= 0 ;
2903 PyObject
* obj3
= 0 ;
2905 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2910 arg1
= wxString_in_helper(obj0
);
2911 if (arg1
== NULL
) SWIG_fail
;
2915 arg2
= wxString_in_helper(obj1
);
2916 if (arg2
== NULL
) SWIG_fail
;
2921 arg3
= wxString_in_helper(obj2
);
2922 if (arg3
== NULL
) SWIG_fail
;
2927 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2974 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2977 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2978 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2979 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2980 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2983 wxWindow
*arg5
= (wxWindow
*) NULL
;
2985 bool temp1
= False
;
2986 bool temp2
= False
;
2988 PyObject
* obj0
= 0 ;
2989 PyObject
* obj1
= 0 ;
2990 PyObject
* obj2
= 0 ;
2991 PyObject
* obj3
= 0 ;
2992 PyObject
* obj4
= 0 ;
2994 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3000 arg1
= wxString_in_helper(obj0
);
3001 if (arg1
== NULL
) SWIG_fail
;
3007 arg2
= wxString_in_helper(obj1
);
3008 if (arg2
== NULL
) SWIG_fail
;
3013 arg3
= (long) SWIG_AsLong(obj2
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3023 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3062 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxString
*arg1
= 0 ;
3065 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3066 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3069 wxWindow
*arg4
= (wxWindow
*) NULL
;
3070 int arg5
= (int) -1 ;
3071 int arg6
= (int) -1 ;
3072 bool arg7
= (bool) True
;
3074 bool temp1
= False
;
3075 bool temp2
= False
;
3076 bool temp3
= False
;
3077 PyObject
* obj0
= 0 ;
3078 PyObject
* obj1
= 0 ;
3079 PyObject
* obj2
= 0 ;
3080 PyObject
* obj3
= 0 ;
3081 PyObject
* obj4
= 0 ;
3082 PyObject
* obj5
= 0 ;
3083 PyObject
* obj6
= 0 ;
3085 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3090 arg1
= wxString_in_helper(obj0
);
3091 if (arg1
== NULL
) SWIG_fail
;
3096 arg2
= wxString_in_helper(obj1
);
3097 if (arg2
== NULL
) SWIG_fail
;
3103 arg3
= wxString_in_helper(obj2
);
3104 if (arg3
== NULL
) SWIG_fail
;
3109 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 arg5
= (int) SWIG_AsInt(obj4
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 arg6
= (int) SWIG_AsInt(obj5
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3121 arg7
= (bool) SWIG_AsBool(obj6
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3168 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxString
*arg1
= 0 ;
3171 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3172 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3173 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3174 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3175 wxWindow
*arg4
= (wxWindow
*) NULL
;
3177 bool temp1
= False
;
3178 bool temp2
= False
;
3179 bool temp3
= False
;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj1
= 0 ;
3182 PyObject
* obj2
= 0 ;
3183 PyObject
* obj3
= 0 ;
3185 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3190 arg1
= wxString_in_helper(obj0
);
3191 if (arg1
== NULL
) SWIG_fail
;
3196 arg2
= wxString_in_helper(obj1
);
3197 if (arg2
== NULL
) SWIG_fail
;
3203 arg3
= wxString_in_helper(obj2
);
3204 if (arg3
== NULL
) SWIG_fail
;
3209 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3256 static PyObject
*_wrap_GetSingleChoice(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:GetSingleChoice",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
,
3302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3305 arg6
= (int) SWIG_AsInt(obj4
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3309 arg7
= (int) SWIG_AsInt(obj5
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 arg8
= (bool) SWIG_AsBool(obj6
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3317 arg9
= (int) SWIG_AsInt(obj7
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3321 arg10
= (int) SWIG_AsInt(obj8
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3347 if (arg4
) delete [] arg4
;
3360 if (arg4
) delete [] arg4
;
3366 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxString
*arg1
= 0 ;
3369 wxString
*arg2
= 0 ;
3371 wxString
*arg4
= (wxString
*) 0 ;
3372 wxWindow
*arg5
= (wxWindow
*) NULL
;
3373 int arg6
= (int) -1 ;
3374 int arg7
= (int) -1 ;
3375 bool arg8
= (bool) True
;
3376 int arg9
= (int) 150 ;
3377 int arg10
= (int) 200 ;
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 ;
3387 PyObject
* obj6
= 0 ;
3388 PyObject
* obj7
= 0 ;
3389 PyObject
* obj8
= 0 ;
3391 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3396 arg1
= wxString_in_helper(obj0
);
3397 if (arg1
== NULL
) SWIG_fail
;
3401 arg2
= wxString_in_helper(obj1
);
3402 if (arg2
== NULL
) SWIG_fail
;
3406 arg3
= PyList_Size(obj2
);
3407 arg4
= wxString_LIST_helper(obj2
);
3408 if (arg4
== NULL
) SWIG_fail
;
3411 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg6
= (int) SWIG_AsInt(obj4
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 arg7
= (int) SWIG_AsInt(obj5
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3423 arg8
= (bool) SWIG_AsBool(obj6
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3427 arg9
= (int) SWIG_AsInt(obj7
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3431 arg10
= (int) SWIG_AsInt(obj8
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_FromInt((int)result
);
3451 if (arg4
) delete [] arg4
;
3464 if (arg4
) delete [] arg4
;
3470 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxString
*arg1
= 0 ;
3473 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3474 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3475 int arg3
= (int) wxOK
|wxCENTRE
;
3476 wxWindow
*arg4
= (wxWindow
*) NULL
;
3477 int arg5
= (int) -1 ;
3478 int arg6
= (int) -1 ;
3480 bool temp1
= False
;
3481 bool temp2
= False
;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3485 PyObject
* obj3
= 0 ;
3486 PyObject
* obj4
= 0 ;
3487 PyObject
* obj5
= 0 ;
3489 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3494 arg1
= wxString_in_helper(obj0
);
3495 if (arg1
== NULL
) SWIG_fail
;
3500 arg2
= wxString_in_helper(obj1
);
3501 if (arg2
== NULL
) SWIG_fail
;
3506 arg3
= (int) SWIG_AsInt(obj2
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 arg5
= (int) SWIG_AsInt(obj4
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3518 arg6
= (int) SWIG_AsInt(obj5
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= SWIG_FromInt((int)result
);
3551 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxString
*arg1
= 0 ;
3554 wxString
*arg2
= 0 ;
3555 wxString
*arg3
= 0 ;
3557 long arg5
= (long) 0 ;
3558 long arg6
= (long) 100 ;
3559 wxWindow
*arg7
= (wxWindow
*) NULL
;
3560 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3561 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3563 bool temp1
= False
;
3564 bool temp2
= False
;
3565 bool temp3
= False
;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3569 PyObject
* obj2
= 0 ;
3570 PyObject
* obj3
= 0 ;
3571 PyObject
* obj4
= 0 ;
3572 PyObject
* obj5
= 0 ;
3573 PyObject
* obj6
= 0 ;
3574 PyObject
* obj7
= 0 ;
3576 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3581 arg1
= wxString_in_helper(obj0
);
3582 if (arg1
== NULL
) SWIG_fail
;
3586 arg2
= wxString_in_helper(obj1
);
3587 if (arg2
== NULL
) SWIG_fail
;
3591 arg3
= wxString_in_helper(obj2
);
3592 if (arg3
== NULL
) SWIG_fail
;
3595 arg4
= (long) SWIG_AsLong(obj3
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 arg5
= (long) SWIG_AsLong(obj4
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 arg6
= (long) SWIG_AsLong(obj5
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3612 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_FromLong((long)result
);
3653 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (bool)wxColourDisplay();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (int)wxDisplayDepth();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_FromInt((int)result
);
3697 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (int)wxGetDisplayDepth();
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= SWIG_FromInt((int)result
);
3719 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 int *arg1
= (int *) 0 ;
3722 int *arg2
= (int *) 0 ;
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 wxDisplaySize(arg1
,arg2
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3742 resultobj
= t_output_helper(resultobj
,o
);
3745 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3746 resultobj
= t_output_helper(resultobj
,o
);
3754 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 result
= wxGetDisplaySize();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3771 resultptr
= new wxSize((wxSize
&) result
);
3772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3780 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 int *arg1
= (int *) 0 ;
3783 int *arg2
= (int *) 0 ;
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxDisplaySizeMM(arg1
,arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 Py_INCREF(Py_None
); resultobj
= Py_None
;
3802 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3803 resultobj
= t_output_helper(resultobj
,o
);
3806 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3807 resultobj
= t_output_helper(resultobj
,o
);
3815 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= wxGetDisplaySizeMM();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3832 resultptr
= new wxSize((wxSize
&) result
);
3833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3841 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 int *arg1
= (int *) 0 ;
3844 int *arg2
= (int *) 0 ;
3845 int *arg3
= (int *) 0 ;
3846 int *arg4
= (int *) 0 ;
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 Py_INCREF(Py_None
); resultobj
= Py_None
;
3869 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3870 resultobj
= t_output_helper(resultobj
,o
);
3873 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3874 resultobj
= t_output_helper(resultobj
,o
);
3877 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3878 resultobj
= t_output_helper(resultobj
,o
);
3881 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3882 resultobj
= t_output_helper(resultobj
,o
);
3890 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= wxGetClientDisplayRect();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3907 resultptr
= new wxRect((wxRect
&) result
);
3908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3916 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxCursor
*arg1
= 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "cursor", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3929 PyErr_SetString(PyExc_TypeError
,"null reference");
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "cursor", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 wxBeginBusyCursor(arg1
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (wxWindow
*)wxGetActiveWindow();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= wxPyMake_wxObject(result
);
3997 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
4002 PyObject
* obj0
= 0 ;
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4010 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= wxPyMake_wxObject(result
);
4028 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4033 PyObject
* obj0
= 0 ;
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4041 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= wxPyMake_wxObject(result
);
4059 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxWindow
*arg1
= (wxWindow
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4065 (char *) "win", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= wxPyMake_wxObject(result
);
4087 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "key", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4097 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4113 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxWakeUpMainThread();
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 Py_INCREF(Py_None
); resultobj
= Py_None
;
4176 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxMutexGuiLocker
*result
;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4198 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4201 PyObject
* obj0
= 0 ;
4203 (char *) "self", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 Py_INCREF(Py_None
); resultobj
= Py_None
;
4223 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4226 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4228 return Py_BuildValue((char *)"");
4230 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 result
= (bool)wxThread_IsMain();
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4252 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxString
*arg1
= 0 ;
4256 bool temp1
= False
;
4257 PyObject
* obj0
= 0 ;
4259 (char *) "tip", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4264 arg1
= wxString_in_helper(obj0
);
4265 if (arg1
== NULL
) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= wxPyMake_wxObject(result
);
4292 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4295 wxString
*arg2
= 0 ;
4296 bool temp2
= False
;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "tip", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 arg2
= wxString_in_helper(obj1
);
4308 if (arg2
== NULL
) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 (arg1
)->SetTip((wxString
const &)*arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4333 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4339 (char *) "self", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (arg1
)->GetTip();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4365 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4371 (char *) "self", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= (wxWindow
*)(arg1
)->GetWindow();
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= wxPyMake_wxObject(result
);
4393 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4396 PyObject
* obj0
= 0 ;
4398 (char *) "flag", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4402 arg1
= (bool) SWIG_AsBool(obj0
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 wxToolTip::Enable(arg1
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 Py_INCREF(Py_None
); resultobj
= Py_None
;
4418 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "milliseconds", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4427 arg1
= (long) SWIG_AsLong(obj0
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 wxToolTip::SetDelay(arg1
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 Py_INCREF(Py_None
); resultobj
= Py_None
;
4443 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4446 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4448 return Py_BuildValue((char *)"");
4450 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxWindow
*arg1
= (wxWindow
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4457 PyObject
* obj1
= 0 ;
4459 (char *) "window",(char *) "size", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4483 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxCaret
*arg1
= (wxCaret
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4488 (char *) "self", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxCaret
*arg1
= (wxCaret
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4514 (char *) "self", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (bool)(arg1
)->IsOk();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4534 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxCaret
*arg1
= (wxCaret
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4540 (char *) "self", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= (bool)(arg1
)->IsVisible();
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4560 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxCaret
*arg1
= (wxCaret
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (arg1
)->GetPosition();
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 wxPoint
* resultptr
;
4581 resultptr
= new wxPoint((wxPoint
&) result
);
4582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4590 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxCaret
*arg1
= (wxCaret
*) 0 ;
4593 int *arg2
= (int *) 0 ;
4594 int *arg3
= (int *) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->GetPosition(arg2
,arg3
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 Py_INCREF(Py_None
); resultobj
= Py_None
;
4616 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4617 resultobj
= t_output_helper(resultobj
,o
);
4620 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4621 resultobj
= t_output_helper(resultobj
,o
);
4629 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxCaret
*arg1
= (wxCaret
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (arg1
)->GetSize();
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4650 resultptr
= new wxSize((wxSize
&) result
);
4651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4659 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxCaret
*arg1
= (wxCaret
*) 0 ;
4662 int *arg2
= (int *) 0 ;
4663 int *arg3
= (int *) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 (arg1
)->GetSize(arg2
,arg3
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 Py_INCREF(Py_None
); resultobj
= Py_None
;
4685 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4686 resultobj
= t_output_helper(resultobj
,o
);
4689 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4690 resultobj
= t_output_helper(resultobj
,o
);
4698 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxCaret
*arg1
= (wxCaret
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4704 (char *) "self", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (wxWindow
*)(arg1
)->GetWindow();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= wxPyMake_wxObject(result
);
4726 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4728 wxCaret
*arg1
= (wxCaret
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4733 PyObject
* obj2
= 0 ;
4735 (char *) "self",(char *) "x",(char *) "y", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4741 arg2
= (int) SWIG_AsInt(obj1
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4743 arg3
= (int) SWIG_AsInt(obj2
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 (arg1
)->Move(arg2
,arg3
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 Py_INCREF(Py_None
); resultobj
= Py_None
;
4759 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxCaret
*arg1
= (wxCaret
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4767 (char *) "self",(char *) "pt", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 (arg1
)->Move((wxPoint
const &)*arg2
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 Py_INCREF(Py_None
); resultobj
= Py_None
;
4791 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxCaret
*arg1
= (wxCaret
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4797 PyObject
* obj1
= 0 ;
4798 PyObject
* obj2
= 0 ;
4800 (char *) "self",(char *) "width",(char *) "height", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4806 arg2
= (int) SWIG_AsInt(obj1
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4808 arg3
= (int) SWIG_AsInt(obj2
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 (arg1
)->SetSize(arg2
,arg3
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxCaret
*arg1
= (wxCaret
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4832 (char *) "self",(char *) "size", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 (arg1
)->SetSize((wxSize
const &)*arg2
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 Py_INCREF(Py_None
); resultobj
= Py_None
;
4856 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxCaret
*arg1
= (wxCaret
*) 0 ;
4859 int arg2
= (int) True
;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4863 (char *) "self",(char *) "show", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 arg2
= (int) SWIG_AsInt(obj1
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4887 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxCaret
*arg1
= (wxCaret
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4915 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4917 return Py_BuildValue((char *)"");
4919 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (int)wxCaret_GetBlinkTime();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= SWIG_FromInt((int)result
);
4941 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "milliseconds", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4950 arg1
= (int) SWIG_AsInt(obj0
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 wxCaret_SetBlinkTime(arg1
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4969 wxBusyCursor
*result
;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "cursor", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
4994 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 Py_INCREF(Py_None
); resultobj
= Py_None
;
5019 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5022 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5024 return Py_BuildValue((char *)"");
5026 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxWindow
*arg1
= (wxWindow
*) NULL
;
5029 wxWindowDisabler
*result
;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "winToSkip", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5054 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "self", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5082 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5084 return Py_BuildValue((char *)"");
5086 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxString
*arg1
= 0 ;
5090 bool temp1
= False
;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "message", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5098 arg1
= wxString_in_helper(obj0
);
5099 if (arg1
== NULL
) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5124 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "self", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5152 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5154 return Py_BuildValue((char *)"");
5156 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxStopWatch
*result
;
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (wxStopWatch
*)new wxStopWatch();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5178 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5181 long arg2
= (long) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "t0", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5192 arg2
= (long) SWIG_AsLong(obj1
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 (arg1
)->Start(arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 Py_INCREF(Py_None
); resultobj
= Py_None
;
5209 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 Py_INCREF(Py_None
); resultobj
= Py_None
;
5234 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 Py_INCREF(Py_None
); resultobj
= Py_None
;
5259 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_FromLong((long)result
);
5285 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5288 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5290 return Py_BuildValue((char *)"");
5292 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 int arg1
= (int) 9 ;
5295 wxFileHistory
*result
;
5296 PyObject
* obj0
= 0 ;
5298 (char *) "maxFiles", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5303 arg1
= (int) SWIG_AsInt(obj0
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5320 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 Py_INCREF(Py_None
); resultobj
= Py_None
;
5345 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5348 wxString
*arg2
= 0 ;
5349 bool temp2
= False
;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5353 (char *) "self",(char *) "file", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 arg2
= wxString_in_helper(obj1
);
5361 if (arg2
== NULL
) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5386 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5393 (char *) "self",(char *) "i", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 arg2
= (int) SWIG_AsInt(obj1
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 (arg1
)->RemoveFileFromHistory(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 Py_INCREF(Py_None
); resultobj
= Py_None
;
5415 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5419 PyObject
* obj0
= 0 ;
5421 (char *) "self", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_FromInt((int)result
);
5441 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5444 wxMenu
*arg2
= (wxMenu
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "menu", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 (arg1
)->UseMenu(arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 Py_INCREF(Py_None
); resultobj
= Py_None
;
5470 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5473 wxMenu
*arg2
= (wxMenu
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5477 (char *) "self",(char *) "menu", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 (arg1
)->RemoveMenu(arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 Py_INCREF(Py_None
); resultobj
= Py_None
;
5499 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5502 wxConfigBase
*arg2
= 0 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5506 (char *) "self",(char *) "config", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5516 PyErr_SetString(PyExc_TypeError
,"null reference");
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->Load(*arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 Py_INCREF(Py_None
); resultobj
= Py_None
;
5533 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5536 wxConfigBase
*arg2
= 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "config", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5550 PyErr_SetString(PyExc_TypeError
,"null reference");
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 (arg1
)->Save(*arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 Py_INCREF(Py_None
); resultobj
= Py_None
;
5567 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5572 (char *) "self", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->AddFilesToMenu();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5595 wxMenu
*arg2
= (wxMenu
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5599 (char *) "self",(char *) "menu", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->AddFilesToMenu(arg2
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5629 (char *) "self",(char *) "i", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5635 arg2
= (int) SWIG_AsInt(obj1
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5657 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5663 (char *) "self", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_FromInt((int)result
);
5683 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5686 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5688 return Py_BuildValue((char *)"");
5690 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxString
*arg1
= 0 ;
5693 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5694 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5695 wxSingleInstanceChecker
*result
;
5696 bool temp1
= False
;
5697 bool temp2
= False
;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5701 (char *) "name",(char *) "path", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5706 arg1
= wxString_in_helper(obj0
);
5707 if (arg1
== NULL
) SWIG_fail
;
5712 arg2
= wxString_in_helper(obj1
);
5713 if (arg2
== NULL
) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5747 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxSingleInstanceChecker
*result
;
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5769 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5774 (char *) "self", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 Py_INCREF(Py_None
); resultobj
= Py_None
;
5794 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5797 wxString
*arg2
= 0 ;
5798 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5799 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5801 bool temp2
= False
;
5802 bool temp3
= False
;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5805 PyObject
* obj2
= 0 ;
5807 (char *) "self",(char *) "name",(char *) "path", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5814 arg2
= wxString_in_helper(obj1
);
5815 if (arg2
== NULL
) SWIG_fail
;
5820 arg3
= wxString_in_helper(obj2
);
5821 if (arg3
== NULL
) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5861 (char *) "self", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5881 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5884 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5886 return Py_BuildValue((char *)"");
5888 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxWindow
*arg1
= (wxWindow
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5897 (char *) "window",(char *) "dc",(char *) "method", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5907 PyErr_SetString(PyExc_TypeError
,"null reference");
5910 arg3
= (int) SWIG_AsInt(obj2
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (arg1
)->GetTip();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5983 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (size_t)(arg1
)->GetCurrentTip();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6009 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6012 wxString
*arg2
= 0 ;
6014 bool temp2
= False
;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6018 (char *) "self",(char *) "tip", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 arg2
= wxString_in_helper(obj1
);
6026 if (arg2
== NULL
) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6057 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6060 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6062 return Py_BuildValue((char *)"");
6064 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6067 wxPyTipProvider
*result
;
6068 PyObject
* obj0
= 0 ;
6070 (char *) "currentTip", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6074 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6090 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6093 PyObject
*arg2
= (PyObject
*) 0 ;
6094 PyObject
*arg3
= (PyObject
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 PyObject
* obj2
= 0 ;
6099 (char *) "self",(char *) "self",(char *) "_class", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6121 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6124 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6126 return Py_BuildValue((char *)"");
6128 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxWindow
*arg1
= (wxWindow
*) 0 ;
6131 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6132 bool arg3
= (bool) True
;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6136 PyObject
* obj2
= 0 ;
6138 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 arg3
= (bool) SWIG_AsBool(obj2
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6164 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxString
*arg1
= 0 ;
6168 wxTipProvider
*result
;
6169 bool temp1
= False
;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6173 (char *) "filename",(char *) "currentTip", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6178 arg1
= wxString_in_helper(obj0
);
6179 if (arg1
== NULL
) SWIG_fail
;
6182 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6206 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6209 int arg2
= (int) -1 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6214 (char *) "owner",(char *) "id", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 arg2
= (int) SWIG_AsInt(obj1
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6240 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6245 (char *) "self", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6268 PyObject
*arg2
= (PyObject
*) 0 ;
6269 PyObject
*arg3
= (PyObject
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6274 (char *) "self",(char *) "self",(char *) "_class", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 Py_INCREF(Py_None
); resultobj
= Py_None
;
6296 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6299 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6300 int arg3
= (int) -1 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6305 (char *) "self",(char *) "owner",(char *) "id", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg3
= (int) SWIG_AsInt(obj2
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 (arg1
)->SetOwner(arg2
,arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6331 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6334 int arg2
= (int) -1 ;
6335 bool arg3
= (bool) False
;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6341 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg2
= (int) SWIG_AsInt(obj1
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 arg3
= (bool) SWIG_AsBool(obj2
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6369 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "self", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 Py_INCREF(Py_None
); resultobj
= Py_None
;
6394 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "self", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6420 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "self", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_FromInt((int)result
);
6446 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6472 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_FromInt((int)result
);
6498 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6501 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6503 return Py_BuildValue((char *)"");
6505 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 int arg1
= (int) 0 ;
6508 int arg2
= (int) 0 ;
6509 wxTimerEvent
*result
;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6513 (char *) "timerid",(char *) "interval", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6518 arg1
= (int) SWIG_AsInt(obj0
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 arg2
= (int) SWIG_AsInt(obj1
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6539 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_FromInt((int)result
);
6565 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6568 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6570 return Py_BuildValue((char *)"");
6572 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6573 PyObject
*resultobj
;
6575 wxTimerRunner
*result
;
6576 PyObject
* obj0
= 0 ;
6578 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6583 PyErr_SetString(PyExc_TypeError
,"null reference");
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6600 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6601 PyObject
*resultobj
;
6604 bool arg3
= (bool) False
;
6605 wxTimerRunner
*result
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6610 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6615 PyErr_SetString(PyExc_TypeError
,"null reference");
6618 arg2
= (int) SWIG_AsInt(obj1
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 arg3
= (bool) SWIG_AsBool(obj2
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6638 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6643 argc
= PyObject_Length(args
);
6644 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6645 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6651 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6659 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6662 if ((argc
>= 2) && (argc
<= 3)) {
6666 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6674 _v
= SWIG_CheckInt(argv
[1]);
6677 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6679 _v
= SWIG_CheckBool(argv
[2]);
6681 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6687 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6692 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6697 (char *) "self", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6717 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6721 bool arg3
= (bool) False
;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 PyObject
* obj2
= 0 ;
6726 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 arg2
= (int) SWIG_AsInt(obj1
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 arg3
= (bool) SWIG_AsBool(obj2
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 (arg1
)->Start(arg2
,arg3
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6755 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6757 return Py_BuildValue((char *)"");
6759 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (wxLog
*)new wxLog();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6781 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (bool)wxLog::IsEnabled();
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6803 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 bool arg1
= (bool) True
;
6807 PyObject
* obj0
= 0 ;
6809 (char *) "doIt", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6814 arg1
= (bool) SWIG_AsBool(obj0
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (bool)wxLog::EnableLogging(arg1
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6831 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6834 wxChar
*arg2
= (wxChar
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6838 PyObject
* obj2
= 0 ;
6840 (char *) "level",(char *) "szString",(char *) "t", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6844 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6848 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxLog
*arg1
= (wxLog
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6869 (char *) "self", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 wxLog::FlushActive();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 Py_INCREF(Py_None
); resultobj
= Py_None
;
6910 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (wxLog
*)wxLog::GetActiveTarget();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6932 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxLog
*arg1
= (wxLog
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "pLogger", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6958 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 Py_INCREF(Py_None
); resultobj
= Py_None
;
6979 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 Py_INCREF(Py_None
); resultobj
= Py_None
;
7000 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 bool arg1
= (bool) True
;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "bVerbose", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7010 arg1
= (bool) SWIG_AsBool(obj0
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxLog::SetVerbose(arg1
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "logLevel", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7036 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxLog::SetLogLevel(arg1
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxLog::DontCreateOnDemand();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 Py_INCREF(Py_None
); resultobj
= Py_None
;
7073 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7076 PyObject
* obj0
= 0 ;
7078 (char *) "ulMask", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7082 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 wxLog::SetTraceMask(arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxString
*arg1
= 0 ;
7101 bool temp1
= False
;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "str", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7109 arg1
= wxString_in_helper(obj0
);
7110 if (arg1
== NULL
) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 wxLog::AddTraceMask((wxString
const &)*arg1
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxString
*arg1
= 0 ;
7138 bool temp1
= False
;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "str", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7146 arg1
= wxString_in_helper(obj0
);
7147 if (arg1
== NULL
) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 wxLog::ClearTraceMasks();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxArrayString
*result
;
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7205 result
= (wxArrayString
*) &_result_ref
;
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= wxArrayString2PyList_helper(*result
);
7220 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxChar
*arg1
= (wxChar
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 wxLog::SetTimestamp((wxChar
const *)arg1
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (bool)wxLog::GetVerbose();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7267 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (wxTraceMask
)wxLog::GetTraceMask();
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7289 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxChar
*arg1
= (wxChar
*) 0 ;
7293 PyObject
* obj0
= 0 ;
7295 (char *) "mask", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7315 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (wxLogLevel
)wxLog::GetLogLevel();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7337 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (wxChar
*)wxLog::GetTimestamp();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7359 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= Log_TimeStamp();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7387 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxLog
*arg1
= (wxLog
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxLog_Destroy(arg1
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7415 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7417 return Py_BuildValue((char *)"");
7419 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxLogStderr
*result
;
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (wxLogStderr
*)new wxLogStderr();
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7441 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7444 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7446 return Py_BuildValue((char *)"");
7448 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7451 wxLogTextCtrl
*result
;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "pTextCtrl", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7474 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7477 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7479 return Py_BuildValue((char *)"");
7481 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (wxLogGui
*)new wxLogGui();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7503 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7506 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7508 return Py_BuildValue((char *)"");
7510 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxFrame
*arg1
= (wxFrame
*) 0 ;
7513 wxString
*arg2
= 0 ;
7514 bool arg3
= (bool) True
;
7515 bool arg4
= (bool) True
;
7516 wxLogWindow
*result
;
7517 bool temp2
= False
;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 PyObject
* obj2
= 0 ;
7521 PyObject
* obj3
= 0 ;
7523 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7530 arg2
= wxString_in_helper(obj1
);
7531 if (arg2
== NULL
) SWIG_fail
;
7535 arg3
= (bool) SWIG_AsBool(obj2
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 arg4
= (bool) SWIG_AsBool(obj3
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7564 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7567 bool arg2
= (bool) True
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7571 (char *) "self",(char *) "bShow", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 arg2
= (bool) SWIG_AsBool(obj1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7595 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7601 (char *) "self", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= wxPyMake_wxObject(result
);
7623 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "self", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7649 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7675 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7682 (char *) "self",(char *) "bDoPass", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7688 arg2
= (bool) SWIG_AsBool(obj1
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 (arg1
)->PassMessages(arg2
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7709 return Py_BuildValue((char *)"");
7711 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxLog
*arg1
= (wxLog
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "logger", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (wxLogChain
*)new wxLogChain(arg1
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7737 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7740 wxLog
*arg2
= (wxLog
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7744 (char *) "self",(char *) "logger", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 (arg1
)->SetLog(arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 Py_INCREF(Py_None
); resultobj
= Py_None
;
7766 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "bDoPass", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7779 arg2
= (bool) SWIG_AsBool(obj1
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->PassMessages(arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7795 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (bool)(arg1
)->IsPassingMessages();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7821 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (wxLog
*)(arg1
)->GetOldLog();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7847 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7850 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7852 return Py_BuildValue((char *)"");
7854 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 unsigned long result
;
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (unsigned long)wxSysErrorCode();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7876 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 unsigned long arg1
= (unsigned long) 0 ;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "nErrCode", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7887 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= wxSysErrorMsg(arg1
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7910 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxString
*arg1
= 0 ;
7913 bool temp1
= False
;
7914 PyObject
* obj0
= 0 ;
7916 (char *) "msg", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7921 arg1
= wxString_in_helper(obj0
);
7922 if (arg1
== NULL
) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxLogFatalError((wxString
const &)*arg1
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7947 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxString
*arg1
= 0 ;
7950 bool temp1
= False
;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "msg", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7958 arg1
= wxString_in_helper(obj0
);
7959 if (arg1
== NULL
) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 wxLogError((wxString
const &)*arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxString
*arg1
= 0 ;
7987 bool temp1
= False
;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "msg", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7995 arg1
= wxString_in_helper(obj0
);
7996 if (arg1
== NULL
) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 wxLogWarning((wxString
const &)*arg1
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxString
*arg1
= 0 ;
8024 bool temp1
= False
;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "msg", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8032 arg1
= wxString_in_helper(obj0
);
8033 if (arg1
== NULL
) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 wxLogMessage((wxString
const &)*arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8058 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxString
*arg1
= 0 ;
8061 bool temp1
= False
;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "msg", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8069 arg1
= wxString_in_helper(obj0
);
8070 if (arg1
== NULL
) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 wxLogInfo((wxString
const &)*arg1
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8095 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 wxString
*arg1
= 0 ;
8098 bool temp1
= False
;
8099 PyObject
* obj0
= 0 ;
8101 (char *) "msg", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8106 arg1
= wxString_in_helper(obj0
);
8107 if (arg1
== NULL
) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 wxLogDebug((wxString
const &)*arg1
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxString
*arg1
= 0 ;
8135 bool temp1
= False
;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "msg", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8143 arg1
= wxString_in_helper(obj0
);
8144 if (arg1
== NULL
) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 wxLogVerbose((wxString
const &)*arg1
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 Py_INCREF(Py_None
); resultobj
= Py_None
;
8169 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxString
*arg1
= 0 ;
8172 bool temp1
= False
;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "msg", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8180 arg1
= wxString_in_helper(obj0
);
8181 if (arg1
== NULL
) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 wxLogStatus((wxString
const &)*arg1
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8206 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxFrame
*arg1
= (wxFrame
*) 0 ;
8209 wxString
*arg2
= 0 ;
8210 bool temp2
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "pFrame",(char *) "msg", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= wxString_in_helper(obj1
);
8222 if (arg2
== NULL
) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8247 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxString
*arg1
= 0 ;
8250 bool temp1
= False
;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "msg", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8258 arg1
= wxString_in_helper(obj0
);
8259 if (arg1
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 wxLogSysError((wxString
const &)*arg1
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8285 PyObject
*resultobj
;
8286 unsigned long arg1
;
8287 wxString
*arg2
= 0 ;
8288 bool temp2
= False
;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8292 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8293 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 arg2
= wxString_in_helper(obj1
);
8297 if (arg2
== NULL
) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8323 PyObject
*resultobj
;
8324 wxString
*arg1
= 0 ;
8325 wxString
*arg2
= 0 ;
8326 bool temp1
= False
;
8327 bool temp2
= False
;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8331 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8333 arg1
= wxString_in_helper(obj0
);
8334 if (arg1
== NULL
) SWIG_fail
;
8338 arg2
= wxString_in_helper(obj1
);
8339 if (arg2
== NULL
) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 Py_INCREF(Py_None
); resultobj
= Py_None
;
8372 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8377 argc
= PyObject_Length(args
);
8378 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8379 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8384 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8388 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8391 return _wrap_LogTrace__SWIG_1(self
,args
);
8397 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8400 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8403 return _wrap_LogTrace__SWIG_0(self
,args
);
8408 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8413 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 unsigned long arg1
;
8416 wxString
*arg2
= 0 ;
8417 bool temp2
= False
;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8421 (char *) "level",(char *) "msg", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8425 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 arg2
= wxString_in_helper(obj1
);
8429 if (arg2
== NULL
) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8454 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxString
*arg1
= 0 ;
8457 wxString
*arg2
= 0 ;
8458 bool temp1
= False
;
8459 bool temp2
= False
;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8463 (char *) "title",(char *) "text", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8468 arg1
= wxString_in_helper(obj0
);
8469 if (arg1
== NULL
) SWIG_fail
;
8473 arg2
= wxString_in_helper(obj1
);
8474 if (arg2
== NULL
) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 Py_INCREF(Py_None
); resultobj
= Py_None
;
8507 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (wxLogNull
*)new wxLogNull();
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8529 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8534 (char *) "self", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 Py_INCREF(Py_None
); resultobj
= Py_None
;
8554 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8557 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8559 return Py_BuildValue((char *)"");
8561 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (wxPyLog
*)new wxPyLog();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8583 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8586 PyObject
*arg2
= (PyObject
*) 0 ;
8587 PyObject
*arg3
= (PyObject
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8590 PyObject
* obj2
= 0 ;
8592 (char *) "self",(char *) "self",(char *) "_class", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8617 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8619 return Py_BuildValue((char *)"");
8621 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8624 int arg2
= (int) wxSIGTERM
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8629 (char *) "pid",(char *) "sig", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8633 arg1
= (int) SWIG_AsInt(obj0
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_FromInt((int)result
);
8653 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "pid", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8663 arg1
= (int) SWIG_AsInt(obj0
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (bool)wxPyProcess::Exists(arg1
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8679 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxString
*arg1
= 0 ;
8682 int arg2
= (int) wxEXEC_ASYNC
;
8683 wxPyProcess
*result
;
8684 bool temp1
= False
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "cmd",(char *) "flags", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8693 arg1
= wxString_in_helper(obj0
);
8694 if (arg1
== NULL
) SWIG_fail
;
8698 arg2
= (int) SWIG_AsInt(obj1
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8723 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8726 int arg2
= (int) -1 ;
8727 wxPyProcess
*result
;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8731 (char *) "parent",(char *) "id", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8740 arg2
= (int) SWIG_AsInt(obj1
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8757 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8760 PyObject
*arg2
= (PyObject
*) 0 ;
8761 PyObject
*arg3
= (PyObject
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 PyObject
* obj2
= 0 ;
8766 (char *) "self",(char *) "self",(char *) "_class", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8797 (char *) "self",(char *) "pid",(char *) "status", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8803 arg2
= (int) SWIG_AsInt(obj1
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8805 arg3
= (int) SWIG_AsInt(obj2
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->base_OnTerminate(arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8824 PyObject
* obj0
= 0 ;
8826 (char *) "self", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 Py_INCREF(Py_None
); resultobj
= Py_None
;
8846 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8852 (char *) "self", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (bool)(arg1
)->IsRedirected();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8872 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8877 (char *) "self", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 Py_INCREF(Py_None
); resultobj
= Py_None
;
8897 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8900 wxInputStream
*result
;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8917 wxPyInputStream
* _ptr
= NULL
;
8920 _ptr
= new wxPyInputStream(result
);
8922 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8930 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8933 wxInputStream
*result
;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 wxPyInputStream
* _ptr
= NULL
;
8953 _ptr
= new wxPyInputStream(result
);
8955 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8963 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8966 wxOutputStream
*result
;
8967 PyObject
* obj0
= 0 ;
8969 (char *) "self", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
8989 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "self", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->CloseOutput();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9040 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9066 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9092 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9095 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9097 return Py_BuildValue((char *)"");
9099 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 int arg1
= (int) 0 ;
9102 int arg2
= (int) 0 ;
9103 int arg3
= (int) 0 ;
9104 wxProcessEvent
*result
;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9109 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9114 arg1
= (int) SWIG_AsInt(obj0
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 arg2
= (int) SWIG_AsInt(obj1
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9122 arg3
= (int) SWIG_AsInt(obj2
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9139 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9145 (char *) "self", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (int)(arg1
)->GetPid();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_FromInt((int)result
);
9165 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (int)(arg1
)->GetExitCode();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_FromInt((int)result
);
9191 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9198 (char *) "self",(char *) "m_pid", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 arg2
= (int) SWIG_AsInt(obj1
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9206 if (arg1
) (arg1
)->m_pid
= arg2
;
9208 Py_INCREF(Py_None
); resultobj
= Py_None
;
9215 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9221 (char *) "self", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 result
= (int) ((arg1
)->m_pid
);
9229 resultobj
= SWIG_FromInt((int)result
);
9236 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9243 (char *) "self",(char *) "m_exitcode", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= (int) SWIG_AsInt(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 result
= (int) ((arg1
)->m_exitcode
);
9274 resultobj
= SWIG_FromInt((int)result
);
9281 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9284 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9286 return Py_BuildValue((char *)"");
9288 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxString
*arg1
= 0 ;
9291 int arg2
= (int) wxEXEC_ASYNC
;
9292 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9294 bool temp1
= False
;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9299 (char *) "command",(char *) "flags",(char *) "process", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9304 arg1
= wxString_in_helper(obj0
);
9305 if (arg1
== NULL
) SWIG_fail
;
9309 arg2
= (int) SWIG_AsInt(obj1
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_FromLong((long)result
);
9338 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 int arg1
= (int) wxJOYSTICK1
;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "joystick", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9349 arg1
= (int) SWIG_AsInt(obj0
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (wxJoystick
*)new wxJoystick(arg1
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9366 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9371 (char *) "self", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (arg1
)->GetPosition();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9411 wxPoint
* resultptr
;
9412 resultptr
= new wxPoint((wxPoint
&) result
);
9413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9421 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9427 (char *) "self", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (int)(arg1
)->GetZPosition();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_FromInt((int)result
);
9447 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "self", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (int)(arg1
)->GetButtonState();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_FromInt((int)result
);
9473 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (int)(arg1
)->GetPOVPosition();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_FromInt((int)result
);
9499 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (int)(arg1
)->GetPOVCTSPosition();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_FromInt((int)result
);
9525 static PyObject
*_wrap_Joystick_GetRudderPosition(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_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (int)(arg1
)->GetRudderPosition();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_FromInt((int)result
);
9551 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (int)(arg1
)->GetUPosition();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_FromInt((int)result
);
9577 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (int)(arg1
)->GetVPosition();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_FromInt((int)result
);
9603 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "self", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)(arg1
)->GetMovementThreshold();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_FromInt((int)result
);
9629 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9636 (char *) "self",(char *) "threshold", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 arg2
= (int) SWIG_AsInt(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetMovementThreshold(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9664 (char *) "self", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)(arg1
)->IsOk();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9690 (char *) "self", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (int)(arg1
)->GetNumberJoysticks();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_FromInt((int)result
);
9710 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (int)(arg1
)->GetManufacturerId();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_FromInt((int)result
);
9736 static PyObject
*_wrap_Joystick_GetProductId(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_GetProductId",kwnames
,&obj0
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)(arg1
)->GetProductId();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_FromInt((int)result
);
9762 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (arg1
)->GetProductName();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9794 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9800 (char *) "self", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (int)(arg1
)->GetXMin();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_FromInt((int)result
);
9820 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "self", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)(arg1
)->GetYMin();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_FromInt((int)result
);
9846 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (int)(arg1
)->GetZMin();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_FromInt((int)result
);
9872 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9878 (char *) "self", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (int)(arg1
)->GetXMax();
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_FromInt((int)result
);
9898 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 (char *) "self", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (int)(arg1
)->GetYMax();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= SWIG_FromInt((int)result
);
9924 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9930 (char *) "self", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (int)(arg1
)->GetZMax();
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= SWIG_FromInt((int)result
);
9950 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "self", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (int)(arg1
)->GetNumberButtons();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_FromInt((int)result
);
9976 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (int)(arg1
)->GetNumberAxes();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_FromInt((int)result
);
10002 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (int)(arg1
)->GetMaxButtons();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_FromInt((int)result
);
10028 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (int)(arg1
)->GetMaxAxes();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_FromInt((int)result
);
10054 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (int)(arg1
)->GetPollingMin();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_FromInt((int)result
);
10080 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (int)(arg1
)->GetPollingMax();
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_FromInt((int)result
);
10106 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (int)(arg1
)->GetRudderMin();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_FromInt((int)result
);
10132 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (int)(arg1
)->GetRudderMax();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_FromInt((int)result
);
10158 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (int)(arg1
)->GetUMin();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_FromInt((int)result
);
10184 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (int)(arg1
)->GetUMax();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_FromInt((int)result
);
10210 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (int)(arg1
)->GetVMin();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_FromInt((int)result
);
10236 static PyObject
*_wrap_Joystick_GetVMax(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_GetVMax",kwnames
,&obj0
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (int)(arg1
)->GetVMax();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= SWIG_FromInt((int)result
);
10262 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (bool)(arg1
)->HasRudder();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10288 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)(arg1
)->HasZ();
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10314 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (bool)(arg1
)->HasU();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)(arg1
)->HasV();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10366 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (bool)(arg1
)->HasPOV();
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10392 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (bool)(arg1
)->HasPOV4Dir();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (bool)(arg1
)->HasPOVCTS();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10444 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10447 wxWindow
*arg2
= (wxWindow
*) 0 ;
10448 int arg3
= (int) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 PyObject
* obj2
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 arg3
= (int) SWIG_AsInt(obj2
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10480 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->ReleaseCapture();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10506 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10509 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10511 return Py_BuildValue((char *)"");
10513 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10516 wxPoint
*arg2
= (wxPoint
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self",(char *) "m_pos", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 if (arg1
) (arg1
)->m_pos
= *arg2
;
10530 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10541 PyObject
* obj0
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10558 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "m_zPosition", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 arg2
= (int) SWIG_AsInt(obj1
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10573 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10575 Py_INCREF(Py_None
); resultobj
= Py_None
;
10582 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10594 result
= (int) ((arg1
)->m_zPosition
);
10596 resultobj
= SWIG_FromInt((int)result
);
10603 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "m_buttonChange", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 arg2
= (int) SWIG_AsInt(obj1
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10618 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10620 Py_INCREF(Py_None
); resultobj
= Py_None
;
10627 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 result
= (int) ((arg1
)->m_buttonChange
);
10641 resultobj
= SWIG_FromInt((int)result
);
10648 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "m_buttonState", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 arg2
= (int) SWIG_AsInt(obj1
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10663 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10665 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10684 result
= (int) ((arg1
)->m_buttonState
);
10686 resultobj
= SWIG_FromInt((int)result
);
10693 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "m_joyStick", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 arg2
= (int) SWIG_AsInt(obj1
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10708 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10710 Py_INCREF(Py_None
); resultobj
= Py_None
;
10717 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10729 result
= (int) ((arg1
)->m_joyStick
);
10731 resultobj
= SWIG_FromInt((int)result
);
10738 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10741 int arg2
= (int) 0 ;
10742 int arg3
= (int) wxJOYSTICK1
;
10743 int arg4
= (int) 0 ;
10744 wxJoystickEvent
*result
;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 PyObject
* obj2
= 0 ;
10748 PyObject
* obj3
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10755 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10759 arg2
= (int) SWIG_AsInt(obj1
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10763 arg3
= (int) SWIG_AsInt(obj2
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 arg4
= (int) SWIG_AsInt(obj3
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10784 static PyObject
*_wrap_JoystickEvent_GetPosition(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_GetPosition",kwnames
,&obj0
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10804 wxPoint
* resultptr
;
10805 resultptr
= new wxPoint((wxPoint
&) result
);
10806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10814 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= SWIG_FromInt((int)result
);
10840 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= SWIG_FromInt((int)result
);
10866 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_FromInt((int)result
);
10892 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_FromInt((int)result
);
10918 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "stick", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 arg2
= (int) SWIG_AsInt(obj1
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->SetJoystick(arg2
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self",(char *) "state", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 arg2
= (int) SWIG_AsInt(obj1
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 (arg1
)->SetButtonState(arg2
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 Py_INCREF(Py_None
); resultobj
= Py_None
;
10976 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "change", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 arg2
= (int) SWIG_AsInt(obj1
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 (arg1
)->SetButtonChange(arg2
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 Py_INCREF(Py_None
); resultobj
= Py_None
;
11005 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11008 wxPoint
*arg2
= 0 ;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "pos", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "zPos", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= (int) SWIG_AsInt(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetZPosition(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11092 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11118 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11147 int arg2
= (int) wxJOY_BUTTON_ANY
;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self",(char *) "but", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (int) SWIG_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11179 int arg2
= (int) wxJOY_BUTTON_ANY
;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "but", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11191 arg2
= (int) SWIG_AsInt(obj1
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11208 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11211 int arg2
= (int) wxJOY_BUTTON_ANY
;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "but", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 arg2
= (int) SWIG_AsInt(obj1
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11243 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11245 return Py_BuildValue((char *)"");
11247 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11248 PyObject
*resultobj
;
11251 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (wxSound
*)new wxSound();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11266 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11267 PyObject
*resultobj
;
11268 wxString
*arg1
= 0 ;
11269 bool arg2
= (bool) false ;
11271 bool temp1
= False
;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11275 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11277 arg1
= wxString_in_helper(obj0
);
11278 if (arg1
== NULL
) SWIG_fail
;
11282 arg2
= (bool) SWIG_AsBool(obj1
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11307 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11308 PyObject
*resultobj
;
11310 wxByte
*arg2
= (wxByte
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11315 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11316 arg1
= (int) SWIG_AsInt(obj0
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11334 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11339 argc
= PyObject_Length(args
);
11340 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11341 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11344 return _wrap_new_Sound__SWIG_0(self
,args
);
11346 if ((argc
>= 1) && (argc
<= 2)) {
11349 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11353 return _wrap_new_Sound__SWIG_1(self
,args
);
11355 _v
= SWIG_CheckBool(argv
[1]);
11357 return _wrap_new_Sound__SWIG_1(self
,args
);
11363 _v
= SWIG_CheckInt(argv
[0]);
11367 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11375 return _wrap_new_Sound__SWIG_2(self
,args
);
11380 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11385 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxSound
*arg1
= (wxSound
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 Py_INCREF(Py_None
); resultobj
= Py_None
;
11410 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11411 PyObject
*resultobj
;
11412 wxSound
*arg1
= (wxSound
*) 0 ;
11413 wxString
*arg2
= 0 ;
11414 bool arg3
= (bool) false ;
11416 bool temp2
= False
;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 PyObject
* obj2
= 0 ;
11421 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 arg2
= wxString_in_helper(obj1
);
11426 if (arg2
== NULL
) SWIG_fail
;
11430 arg3
= (bool) SWIG_AsBool(obj2
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11455 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11456 PyObject
*resultobj
;
11457 wxSound
*arg1
= (wxSound
*) 0 ;
11459 wxByte
*arg3
= (wxByte
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 PyObject
* obj2
= 0 ;
11465 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11468 arg2
= (int) SWIG_AsInt(obj1
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11470 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11491 argc
= PyObject_Length(args
);
11492 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11493 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11495 if ((argc
>= 2) && (argc
<= 3)) {
11499 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11508 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11512 return _wrap_Sound_Create__SWIG_0(self
,args
);
11514 _v
= SWIG_CheckBool(argv
[2]);
11516 return _wrap_Sound_Create__SWIG_0(self
,args
);
11525 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11533 _v
= SWIG_CheckInt(argv
[1]);
11537 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11545 return _wrap_Sound_Create__SWIG_1(self
,args
);
11551 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11556 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxSound
*arg1
= (wxSound
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (bool)(arg1
)->IsOk();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11582 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11583 PyObject
*resultobj
;
11584 wxSound
*arg1
= (wxSound
*) 0 ;
11585 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11590 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11611 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11612 PyObject
*resultobj
;
11613 wxString
*arg1
= 0 ;
11614 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11616 bool temp1
= False
;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11620 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11622 arg1
= wxString_in_helper(obj0
);
11623 if (arg1
== NULL
) SWIG_fail
;
11627 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 char *kwnames
[] = {
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11678 return Py_BuildValue((char *)"");
11680 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxString
*arg1
= 0 ;
11683 wxString
*arg2
= 0 ;
11684 wxString
*arg3
= 0 ;
11685 wxString
*arg4
= 0 ;
11686 wxFileTypeInfo
*result
;
11687 bool temp1
= False
;
11688 bool temp2
= False
;
11689 bool temp3
= False
;
11690 bool temp4
= False
;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 PyObject
* obj3
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11701 arg1
= wxString_in_helper(obj0
);
11702 if (arg1
== NULL
) SWIG_fail
;
11706 arg2
= wxString_in_helper(obj1
);
11707 if (arg2
== NULL
) SWIG_fail
;
11711 arg3
= wxString_in_helper(obj2
);
11712 if (arg3
== NULL
) SWIG_fail
;
11716 arg4
= wxString_in_helper(obj3
);
11717 if (arg4
== NULL
) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11766 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxArrayString
*arg1
= 0 ;
11769 wxFileTypeInfo
*result
;
11770 bool temp1
= False
;
11771 PyObject
* obj0
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "sArray", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11778 if (! PySequence_Check(obj0
)) {
11779 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11782 arg1
= new wxArrayString
;
11784 int i
, len
=PySequence_Length(obj0
);
11785 for (i
=0; i
<len
; i
++) {
11786 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11788 PyObject
* str
= PyObject_Unicode(item
);
11790 PyObject
* str
= PyObject_Str(item
);
11792 arg1
->Add(Py2wxString(str
));
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11806 if (temp1
) delete arg1
;
11811 if (temp1
) delete arg1
;
11817 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxFileTypeInfo
*result
;
11820 char *kwnames
[] = {
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11839 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11865 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11868 wxString
*arg2
= 0 ;
11869 int arg3
= (int) 0 ;
11870 bool temp2
= False
;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11882 arg2
= wxString_in_helper(obj1
);
11883 if (arg2
== NULL
) SWIG_fail
;
11887 arg3
= (int) SWIG_AsInt(obj2
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11915 wxString
*arg2
= 0 ;
11916 bool temp2
= False
;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self",(char *) "shortDesc", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11927 arg2
= wxString_in_helper(obj1
);
11928 if (arg2
== NULL
) SWIG_fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 Py_INCREF(Py_None
); resultobj
= Py_None
;
11953 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11957 PyObject
* obj0
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11969 result
= (wxString
*) &_result_ref
;
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11979 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11988 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12004 result
= (wxString
*) &_result_ref
;
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12014 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12023 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12039 result
= (wxString
*) &_result_ref
;
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12049 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12058 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12074 result
= (wxString
*) &_result_ref
;
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12084 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12093 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12109 result
= (wxString
*) &_result_ref
;
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12128 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12131 wxArrayString
*result
;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12144 result
= (wxArrayString
*) &_result_ref
;
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= wxArrayString2PyList_helper(*result
);
12159 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
;
12161 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_FromInt((int)result
);
12185 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12201 result
= (wxString
*) &_result_ref
;
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12211 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12220 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_FromInt((int)result
);
12246 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12249 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12251 return Py_BuildValue((char *)"");
12253 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxFileTypeInfo
*arg1
= 0 ;
12256 wxFileType
*result
;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "ftInfo", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12266 if (arg1
== NULL
) {
12267 PyErr_SetString(PyExc_TypeError
,"null reference");
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12284 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxFileType
*arg1
= (wxFileType
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 Py_INCREF(Py_None
); resultobj
= Py_None
;
12309 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxFileType
*arg1
= (wxFileType
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= result
;
12335 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxFileType
*arg1
= (wxFileType
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= result
;
12361 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxFileType
*arg1
= (wxFileType
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= result
;
12387 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxFileType
*arg1
= (wxFileType
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12413 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxFileType
*arg1
= (wxFileType
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= result
;
12439 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxFileType
*arg1
= (wxFileType
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= result
;
12465 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileType
*arg1
= (wxFileType
*) 0 ;
12468 wxString
*arg2
= 0 ;
12469 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12472 bool temp2
= False
;
12473 bool temp3
= False
;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 PyObject
* obj2
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12485 arg2
= wxString_in_helper(obj1
);
12486 if (arg2
== NULL
) SWIG_fail
;
12491 arg3
= wxString_in_helper(obj2
);
12492 if (arg3
== NULL
) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
;
12526 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFileType
*arg1
= (wxFileType
*) 0 ;
12529 wxString
*arg2
= 0 ;
12530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12533 bool temp2
= False
;
12534 bool temp3
= False
;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 PyObject
* obj2
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 arg2
= wxString_in_helper(obj1
);
12547 if (arg2
== NULL
) SWIG_fail
;
12552 arg3
= wxString_in_helper(obj2
);
12553 if (arg3
== NULL
) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= result
;
12587 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxFileType
*arg1
= (wxFileType
*) 0 ;
12590 wxString
*arg2
= 0 ;
12591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12594 bool temp2
= False
;
12595 bool temp3
= False
;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 PyObject
* obj2
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 arg2
= wxString_in_helper(obj1
);
12608 if (arg2
== NULL
) SWIG_fail
;
12613 arg3
= wxString_in_helper(obj2
);
12614 if (arg3
== NULL
) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
;
12648 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxFileType
*arg1
= (wxFileType
*) 0 ;
12651 wxString
*arg2
= 0 ;
12652 wxString
*arg3
= 0 ;
12653 bool arg4
= (bool) True
;
12655 bool temp2
= False
;
12656 bool temp3
= False
;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 PyObject
* obj3
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 arg2
= wxString_in_helper(obj1
);
12670 if (arg2
== NULL
) SWIG_fail
;
12674 arg3
= wxString_in_helper(obj2
);
12675 if (arg3
== NULL
) SWIG_fail
;
12679 arg4
= (bool) SWIG_AsBool(obj3
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12712 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxFileType
*arg1
= (wxFileType
*) 0 ;
12715 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12716 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12717 int arg3
= (int) 0 ;
12719 bool temp2
= False
;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 PyObject
* obj2
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self",(char *) "cmd",(char *) "index", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12732 arg2
= wxString_in_helper(obj1
);
12733 if (arg2
== NULL
) SWIG_fail
;
12738 arg3
= (int) SWIG_AsInt(obj2
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12763 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxFileType
*arg1
= (wxFileType
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (bool)(arg1
)->Unassociate();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12789 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxString
*arg1
= 0 ;
12792 wxString
*arg2
= 0 ;
12793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12796 bool temp1
= False
;
12797 bool temp2
= False
;
12798 bool temp3
= False
;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 PyObject
* obj2
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12808 arg1
= wxString_in_helper(obj0
);
12809 if (arg1
== NULL
) SWIG_fail
;
12813 arg2
= wxString_in_helper(obj1
);
12814 if (arg2
== NULL
) SWIG_fail
;
12819 arg3
= wxString_in_helper(obj2
);
12820 if (arg3
== NULL
) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12868 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12871 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12873 return Py_BuildValue((char *)"");
12875 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12876 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12881 static PyObject
*_wrap_TheMimeTypesManager_get() {
12884 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12889 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxString
*arg1
= 0 ;
12892 wxString
*arg2
= 0 ;
12894 bool temp1
= False
;
12895 bool temp2
= False
;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "mimeType",(char *) "wildcard", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12904 arg1
= wxString_in_helper(obj0
);
12905 if (arg1
== NULL
) SWIG_fail
;
12909 arg2
= wxString_in_helper(obj1
);
12910 if (arg2
== NULL
) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12943 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxMimeTypesManager
*result
;
12946 char *kwnames
[] = {
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
12965 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12968 int arg2
= (int) wxMAILCAP_ALL
;
12969 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12970 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12971 bool temp3
= False
;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 PyObject
* obj2
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12983 arg2
= (int) SWIG_AsInt(obj1
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12988 arg3
= wxString_in_helper(obj2
);
12989 if (arg3
== NULL
) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 Py_INCREF(Py_None
); resultobj
= Py_None
;
13015 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 (arg1
)->ClearData();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13043 wxString
*arg2
= 0 ;
13044 wxFileType
*result
;
13045 bool temp2
= False
;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "ext", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 arg2
= wxString_in_helper(obj1
);
13057 if (arg2
== NULL
) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13082 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13085 wxString
*arg2
= 0 ;
13086 wxFileType
*result
;
13087 bool temp2
= False
;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "mimeType", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 arg2
= wxString_in_helper(obj1
);
13099 if (arg2
== NULL
) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13124 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13127 wxString
*arg2
= 0 ;
13128 bool arg3
= (bool) False
;
13130 bool temp2
= False
;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 PyObject
* obj2
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 arg2
= wxString_in_helper(obj1
);
13143 if (arg2
== NULL
) SWIG_fail
;
13147 arg3
= (bool) SWIG_AsBool(obj2
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13172 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13175 wxString
*arg2
= 0 ;
13177 bool temp2
= False
;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "filename", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= wxString_in_helper(obj1
);
13189 if (arg2
== NULL
) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13214 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= result
;
13240 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13243 wxFileTypeInfo
*arg2
= 0 ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self",(char *) "ft", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13256 if (arg2
== NULL
) {
13257 PyErr_SetString(PyExc_TypeError
,"null reference");
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13277 wxFileTypeInfo
*arg2
= 0 ;
13278 wxFileType
*result
;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "ftInfo", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13291 if (arg2
== NULL
) {
13292 PyErr_SetString(PyExc_TypeError
,"null reference");
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13309 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13312 wxFileType
*arg2
= (wxFileType
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "ft", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (bool)(arg1
)->Unassociate(arg2
);
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13339 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13367 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13369 return Py_BuildValue((char *)"");
13371 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13372 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13377 static PyObject
*_wrap_ART_TOOLBAR_get() {
13382 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13384 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13391 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13392 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13397 static PyObject
*_wrap_ART_MENU_get() {
13402 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13404 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13411 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13412 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13417 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13422 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13424 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13431 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13432 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13437 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13442 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13444 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13451 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13452 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13457 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13462 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13464 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13471 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13472 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13477 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13482 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13484 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13491 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13492 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13497 static PyObject
*_wrap_ART_OTHER_get() {
13502 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13504 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13511 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13512 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13517 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13522 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13524 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13531 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13532 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13537 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13542 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13544 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13551 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13552 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13557 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13562 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13564 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13571 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13572 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13577 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13582 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13584 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13591 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13592 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13597 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13602 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13604 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13611 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13612 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13617 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13622 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13624 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13631 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13637 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13642 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13651 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13652 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13657 static PyObject
*_wrap_ART_GO_BACK_get() {
13662 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13664 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13671 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13672 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13677 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13682 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13684 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13691 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13692 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13697 static PyObject
*_wrap_ART_GO_UP_get() {
13702 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13704 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13711 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13712 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13717 static PyObject
*_wrap_ART_GO_DOWN_get() {
13722 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13724 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13731 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13732 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13737 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13742 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13744 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13751 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13752 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13757 static PyObject
*_wrap_ART_GO_HOME_get() {
13762 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13764 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13771 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13772 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13777 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13782 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13784 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13791 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13792 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13797 static PyObject
*_wrap_ART_PRINT_get() {
13802 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13804 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13811 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13812 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13817 static PyObject
*_wrap_ART_HELP_get() {
13822 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13824 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13831 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13832 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13837 static PyObject
*_wrap_ART_TIP_get() {
13842 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13844 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13851 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13852 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13857 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13862 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13864 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13871 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13872 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13877 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13882 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13884 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13891 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13892 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13897 static PyObject
*_wrap_ART_NEW_DIR_get() {
13902 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13904 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13911 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13912 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13917 static PyObject
*_wrap_ART_FOLDER_get() {
13922 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13924 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13931 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13932 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13937 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13942 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13951 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
13952 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13957 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13962 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13964 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13971 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
13972 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
13977 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
13982 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13984 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
13991 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
13992 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
13997 static PyObject
*_wrap_ART_TICK_MARK_get() {
14002 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14004 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14011 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14012 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14017 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14022 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14024 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14031 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14032 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14037 static PyObject
*_wrap_ART_ERROR_get() {
14042 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14044 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14051 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14052 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14057 static PyObject
*_wrap_ART_QUESTION_get() {
14062 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14064 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14071 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14072 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14077 static PyObject
*_wrap_ART_WARNING_get() {
14082 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14084 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14091 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14092 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14097 static PyObject
*_wrap_ART_INFORMATION_get() {
14102 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14104 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14111 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14112 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14117 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14122 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14124 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14131 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxPyArtProvider
*result
;
14134 char *kwnames
[] = {
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14153 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14156 PyObject
*arg2
= (PyObject
*) 0 ;
14157 PyObject
*arg3
= (PyObject
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self",(char *) "self",(char *) "_class", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "provider", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 wxPyArtProvider::PushProvider(arg1
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14212 char *kwnames
[] = {
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (bool)wxPyArtProvider::PopProvider();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14231 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "provider", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14257 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxString
*arg1
= 0 ;
14260 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14261 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14262 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14263 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14265 bool temp1
= False
;
14266 bool temp2
= False
;
14268 PyObject
* obj0
= 0 ;
14269 PyObject
* obj1
= 0 ;
14270 PyObject
* obj2
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "id",(char *) "client",(char *) "size", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14277 arg1
= wxString_in_helper(obj0
);
14278 if (arg1
== NULL
) SWIG_fail
;
14283 arg2
= wxString_in_helper(obj1
);
14284 if (arg2
== NULL
) SWIG_fail
;
14291 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14302 wxBitmap
* resultptr
;
14303 resultptr
= new wxBitmap((wxBitmap
&) result
);
14304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14328 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxString
*arg1
= 0 ;
14331 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14332 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14333 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14334 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14336 bool temp1
= False
;
14337 bool temp2
= False
;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj1
= 0 ;
14341 PyObject
* obj2
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "id",(char *) "client",(char *) "size", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14348 arg1
= wxString_in_helper(obj0
);
14349 if (arg1
== NULL
) SWIG_fail
;
14354 arg2
= wxString_in_helper(obj1
);
14355 if (arg2
== NULL
) SWIG_fail
;
14362 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14373 wxIcon
* resultptr
;
14374 resultptr
= new wxIcon((wxIcon
&) result
);
14375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14399 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 wxPyArtProvider_Destroy(arg1
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 Py_INCREF(Py_None
); resultobj
= Py_None
;
14424 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14427 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14429 return Py_BuildValue((char *)"");
14431 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14459 wxConfigBase
*result
;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "config", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14482 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 bool arg1
= (bool) True
;
14485 wxConfigBase
*result
;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "createOnDemand", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14493 arg1
= (bool) SWIG_AsBool(obj0
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14510 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxConfigBase
*result
;
14513 char *kwnames
[] = {
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (wxConfigBase
*)wxConfigBase::Create();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14532 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 char *kwnames
[] = {
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 wxConfigBase::DontCreateOnDemand();
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 Py_INCREF(Py_None
); resultobj
= Py_None
;
14553 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14556 wxString
*arg2
= 0 ;
14557 bool temp2
= False
;
14558 PyObject
* obj0
= 0 ;
14559 PyObject
* obj1
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self",(char *) "path", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 arg2
= wxString_in_helper(obj1
);
14569 if (arg2
== NULL
) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->SetPath((wxString
const &)*arg2
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14594 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14610 result
= (wxString
*) &_result_ref
;
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14629 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= result
;
14655 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "index", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (long) SWIG_AsLong(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= result
;
14685 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= result
;
14711 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self",(char *) "index", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14725 arg2
= (long) SWIG_AsLong(obj1
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
;
14741 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14744 bool arg2
= (bool) False
;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self",(char *) "recursive", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 arg2
= (bool) SWIG_AsBool(obj1
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14773 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14776 bool arg2
= (bool) False
;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "recursive", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg2
= (bool) SWIG_AsBool(obj1
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14805 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14808 wxString
*arg2
= 0 ;
14810 bool temp2
= False
;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "name", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 arg2
= wxString_in_helper(obj1
);
14822 if (arg2
== NULL
) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14847 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14850 wxString
*arg2
= 0 ;
14852 bool temp2
= False
;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "name", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 arg2
= wxString_in_helper(obj1
);
14864 if (arg2
== NULL
) SWIG_fail
;
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14889 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14892 wxString
*arg2
= 0 ;
14894 bool temp2
= False
;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "name", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 arg2
= wxString_in_helper(obj1
);
14906 if (arg2
== NULL
) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14931 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14934 wxString
*arg2
= 0 ;
14936 bool temp2
= False
;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "name", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 arg2
= wxString_in_helper(obj1
);
14948 if (arg2
== NULL
) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_FromInt((int)result
);
14973 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14976 wxString
*arg2
= 0 ;
14977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14980 bool temp2
= False
;
14981 bool temp3
= False
;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 PyObject
* obj2
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 arg2
= wxString_in_helper(obj1
);
14994 if (arg2
== NULL
) SWIG_fail
;
14999 arg3
= wxString_in_helper(obj2
);
15000 if (arg3
== NULL
) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15040 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15043 wxString
*arg2
= 0 ;
15044 long arg3
= (long) 0 ;
15046 bool temp2
= False
;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 PyObject
* obj2
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 arg2
= wxString_in_helper(obj1
);
15059 if (arg2
== NULL
) SWIG_fail
;
15063 arg3
= (long) SWIG_AsLong(obj2
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_FromLong((long)result
);
15088 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15091 wxString
*arg2
= 0 ;
15092 double arg3
= (double) 0.0 ;
15094 bool temp2
= False
;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 PyObject
* obj2
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 arg2
= wxString_in_helper(obj1
);
15107 if (arg2
== NULL
) SWIG_fail
;
15111 arg3
= (double) SWIG_AsDouble(obj2
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_FromDouble((double)result
);
15136 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15139 wxString
*arg2
= 0 ;
15140 bool arg3
= (bool) False
;
15142 bool temp2
= False
;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 PyObject
* obj2
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 arg2
= wxString_in_helper(obj1
);
15155 if (arg2
== NULL
) SWIG_fail
;
15159 arg3
= (bool) SWIG_AsBool(obj2
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15184 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15187 wxString
*arg2
= 0 ;
15188 wxString
*arg3
= 0 ;
15190 bool temp2
= False
;
15191 bool temp3
= False
;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 PyObject
* obj2
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self",(char *) "key",(char *) "value", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15203 arg2
= wxString_in_helper(obj1
);
15204 if (arg2
== NULL
) SWIG_fail
;
15208 arg3
= wxString_in_helper(obj2
);
15209 if (arg3
== NULL
) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15242 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15245 wxString
*arg2
= 0 ;
15248 bool temp2
= False
;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 PyObject
* obj2
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "key",(char *) "value", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 arg2
= wxString_in_helper(obj1
);
15261 if (arg2
== NULL
) SWIG_fail
;
15264 arg3
= (long) SWIG_AsLong(obj2
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15288 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15291 wxString
*arg2
= 0 ;
15294 bool temp2
= False
;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 PyObject
* obj2
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self",(char *) "key",(char *) "value", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 arg2
= wxString_in_helper(obj1
);
15307 if (arg2
== NULL
) SWIG_fail
;
15310 arg3
= (double) SWIG_AsDouble(obj2
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15337 wxString
*arg2
= 0 ;
15340 bool temp2
= False
;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "key",(char *) "value", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 arg2
= wxString_in_helper(obj1
);
15353 if (arg2
== NULL
) SWIG_fail
;
15356 arg3
= (bool) SWIG_AsBool(obj2
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15383 bool arg2
= (bool) False
;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self",(char *) "currentOnly", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 arg2
= (bool) SWIG_AsBool(obj1
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (bool)(arg1
)->Flush(arg2
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15415 wxString
*arg2
= 0 ;
15416 wxString
*arg3
= 0 ;
15418 bool temp2
= False
;
15419 bool temp3
= False
;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15431 arg2
= wxString_in_helper(obj1
);
15432 if (arg2
== NULL
) SWIG_fail
;
15436 arg3
= wxString_in_helper(obj2
);
15437 if (arg3
== NULL
) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15470 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15473 wxString
*arg2
= 0 ;
15474 wxString
*arg3
= 0 ;
15476 bool temp2
= False
;
15477 bool temp3
= False
;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 PyObject
* obj2
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 arg2
= wxString_in_helper(obj1
);
15490 if (arg2
== NULL
) SWIG_fail
;
15494 arg3
= wxString_in_helper(obj2
);
15495 if (arg3
== NULL
) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15528 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15531 wxString
*arg2
= 0 ;
15532 bool arg3
= (bool) True
;
15534 bool temp2
= False
;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 arg2
= wxString_in_helper(obj1
);
15547 if (arg2
== NULL
) SWIG_fail
;
15551 arg3
= (bool) SWIG_AsBool(obj2
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15576 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15579 wxString
*arg2
= 0 ;
15581 bool temp2
= False
;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self",(char *) "key", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 arg2
= wxString_in_helper(obj1
);
15593 if (arg2
== NULL
) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15618 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (bool)(arg1
)->DeleteAll();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15647 bool arg2
= (bool) True
;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "doIt", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 arg2
= (bool) SWIG_AsBool(obj1
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->SetExpandEnvVars(arg2
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15701 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15704 bool arg2
= (bool) True
;
15705 PyObject
* obj0
= 0 ;
15706 PyObject
* obj1
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self",(char *) "doIt", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 arg2
= (bool) SWIG_AsBool(obj1
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 (arg1
)->SetRecordDefaults(arg2
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 Py_INCREF(Py_None
); resultobj
= Py_None
;
15732 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15758 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15761 wxString
*arg2
= 0 ;
15763 bool temp2
= False
;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "str", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15774 arg2
= wxString_in_helper(obj1
);
15775 if (arg2
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15806 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
;
15808 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15838 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15870 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15873 wxString
*arg2
= 0 ;
15874 bool temp2
= False
;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self",(char *) "appName", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15885 arg2
= wxString_in_helper(obj1
);
15886 if (arg2
== NULL
) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->SetAppName((wxString
const &)*arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 Py_INCREF(Py_None
); resultobj
= Py_None
;
15911 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15914 wxString
*arg2
= 0 ;
15915 bool temp2
= False
;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "vendorName", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 arg2
= wxString_in_helper(obj1
);
15927 if (arg2
== NULL
) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15952 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "style", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 arg2
= (long) SWIG_AsLong(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 (arg1
)->SetStyle(arg2
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= SWIG_FromLong((long)result
);
16007 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16010 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16012 return Py_BuildValue((char *)"");
16014 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16017 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16018 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16019 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16020 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16021 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16024 long arg5
= (long) 0 ;
16026 bool temp1
= False
;
16027 bool temp2
= False
;
16028 bool temp3
= False
;
16029 bool temp4
= False
;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 PyObject
* obj2
= 0 ;
16033 PyObject
* obj3
= 0 ;
16034 PyObject
* obj4
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16042 arg1
= wxString_in_helper(obj0
);
16043 if (arg1
== NULL
) SWIG_fail
;
16049 arg2
= wxString_in_helper(obj1
);
16050 if (arg2
== NULL
) SWIG_fail
;
16056 arg3
= wxString_in_helper(obj2
);
16057 if (arg3
== NULL
) SWIG_fail
;
16063 arg4
= wxString_in_helper(obj3
);
16064 if (arg4
== NULL
) SWIG_fail
;
16069 arg5
= (long) SWIG_AsLong(obj4
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16118 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxConfig
*arg1
= (wxConfig
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16143 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16146 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16148 return Py_BuildValue((char *)"");
16150 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16153 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16154 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16155 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16156 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16157 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16158 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16159 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16160 long arg5
= (long) 0 ;
16161 wxFileConfig
*result
;
16162 bool temp1
= False
;
16163 bool temp2
= False
;
16164 bool temp3
= False
;
16165 bool temp4
= False
;
16166 PyObject
* obj0
= 0 ;
16167 PyObject
* obj1
= 0 ;
16168 PyObject
* obj2
= 0 ;
16169 PyObject
* obj3
= 0 ;
16170 PyObject
* obj4
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16178 arg1
= wxString_in_helper(obj0
);
16179 if (arg1
== NULL
) SWIG_fail
;
16185 arg2
= wxString_in_helper(obj1
);
16186 if (arg2
== NULL
) SWIG_fail
;
16192 arg3
= wxString_in_helper(obj2
);
16193 if (arg3
== NULL
) SWIG_fail
;
16199 arg4
= wxString_in_helper(obj3
);
16200 if (arg4
== NULL
) SWIG_fail
;
16205 arg5
= (long) SWIG_AsLong(obj4
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16254 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 Py_INCREF(Py_None
); resultobj
= Py_None
;
16279 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16282 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16284 return Py_BuildValue((char *)"");
16286 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16289 wxString
*arg2
= 0 ;
16290 wxConfigPathChanger
*result
;
16291 bool temp2
= False
;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "config",(char *) "entry", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 arg2
= wxString_in_helper(obj1
);
16303 if (arg2
== NULL
) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16328 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16353 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16369 result
= (wxString
*) &_result_ref
;
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16379 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16388 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16391 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16393 return Py_BuildValue((char *)"");
16395 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxString
*arg1
= 0 ;
16399 bool temp1
= False
;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "sz", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16407 arg1
= wxString_in_helper(obj0
);
16408 if (arg1
== NULL
) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16439 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16440 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16445 static PyObject
*_wrap_DateFormatStr_get() {
16450 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16452 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16459 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16460 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16465 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16470 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16472 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16479 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "country", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16488 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 Py_INCREF(Py_None
); resultobj
= Py_None
;
16504 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16507 char *kwnames
[] = {
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (int)wxDateTime::GetCountry();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_FromInt((int)result
);
16526 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 int arg1
= (int) wxDateTime::Country_Default
;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "country", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16537 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16554 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 int arg1
= (int) wxDateTime::Gregorian
;
16558 PyObject
* obj0
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "cal", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16565 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_FromInt((int)result
);
16582 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "year", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16592 arg1
= (int) SWIG_AsInt(obj0
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_FromInt((int)result
);
16608 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 int arg1
= (int) wxDateTime::Gregorian
;
16612 PyObject
* obj0
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "cal", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16619 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_FromInt((int)result
);
16636 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 int arg1
= (int) wxDateTime::Inv_Year
;
16639 int arg2
= (int) wxDateTime::Gregorian
;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "year",(char *) "cal", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16649 arg1
= (int) SWIG_AsInt(obj0
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16670 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 int arg1
= (int) wxDateTime::Inv_Year
;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "year", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16681 arg1
= (int) SWIG_AsInt(obj0
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (int)wxDateTime::GetCentury(arg1
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_FromInt((int)result
);
16698 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16701 int arg2
= (int) wxDateTime::Gregorian
;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "year",(char *) "cal", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16710 arg1
= (int) SWIG_AsInt(obj0
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_FromInt((int)result
);
16730 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16733 int arg2
= (int) wxDateTime::Inv_Year
;
16734 int arg3
= (int) wxDateTime::Gregorian
;
16736 PyObject
* obj0
= 0 ;
16737 PyObject
* obj1
= 0 ;
16738 PyObject
* obj2
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "month",(char *) "year",(char *) "cal", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16744 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 arg2
= (int) SWIG_AsInt(obj1
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= SWIG_FromInt((int)result
);
16768 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16771 int arg2
= (int) wxDateTime::Name_Full
;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "month",(char *) "flags", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16780 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16806 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16809 int arg2
= (int) wxDateTime::Name_Full
;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "weekday",(char *) "flags", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16818 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16844 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxString
*arg1
= (wxString
*) 0 ;
16847 wxString
*arg2
= (wxString
*) 0 ;
16848 bool temp1
= False
;
16849 bool temp2
= False
;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16858 arg1
= wxString_in_helper(obj0
);
16859 if (arg1
== NULL
) SWIG_fail
;
16863 arg2
= wxString_in_helper(obj1
);
16864 if (arg2
== NULL
) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 int arg1
= (int) wxDateTime::Inv_Year
;
16900 int arg2
= (int) wxDateTime::Country_Default
;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "year",(char *) "country", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16910 arg1
= (int) SWIG_AsInt(obj0
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16931 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 int arg1
= (int) wxDateTime::Inv_Year
;
16934 int arg2
= (int) wxDateTime::Country_Default
;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "year",(char *) "country", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16944 arg1
= (int) SWIG_AsInt(obj0
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 wxDateTime
* resultptr
;
16960 resultptr
= new wxDateTime((wxDateTime
&) result
);
16961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
16969 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 int arg1
= (int) wxDateTime::Inv_Year
;
16972 int arg2
= (int) wxDateTime::Country_Default
;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "year",(char *) "country", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 arg1
= (int) SWIG_AsInt(obj0
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 wxDateTime
* resultptr
;
16998 resultptr
= new wxDateTime((wxDateTime
&) result
);
16999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17007 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17010 char *kwnames
[] = {
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= wxDateTime::Now();
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 wxDateTime
* resultptr
;
17024 resultptr
= new wxDateTime((wxDateTime
&) result
);
17025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17033 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17036 char *kwnames
[] = {
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= wxDateTime::UNow();
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 wxDateTime
* resultptr
;
17050 resultptr
= new wxDateTime((wxDateTime
&) result
);
17051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17059 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17062 char *kwnames
[] = {
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= wxDateTime::Today();
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17075 wxDateTime
* resultptr
;
17076 resultptr
= new wxDateTime((wxDateTime
&) result
);
17077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17085 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxDateTime
*result
;
17088 char *kwnames
[] = {
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxDateTime
*)new wxDateTime();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17107 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17110 wxDateTime
*result
;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "timet", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17117 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (wxDateTime
*)new wxDateTime(arg1
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17133 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17136 wxDateTime
*result
;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "jdn", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17143 arg1
= (double) SWIG_AsDouble(obj0
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (wxDateTime
*)new wxDateTime(arg1
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17159 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17162 int arg2
= (int) 0 ;
17163 int arg3
= (int) 0 ;
17164 int arg4
= (int) 0 ;
17165 wxDateTime
*result
;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 PyObject
* obj2
= 0 ;
17169 PyObject
* obj3
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17175 arg1
= (int) SWIG_AsInt(obj0
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 arg2
= (int) SWIG_AsInt(obj1
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 arg3
= (int) SWIG_AsInt(obj2
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 arg4
= (int) SWIG_AsInt(obj3
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17203 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17206 int arg2
= (int) wxDateTime::Inv_Month
;
17207 int arg3
= (int) wxDateTime::Inv_Year
;
17208 int arg4
= (int) 0 ;
17209 int arg5
= (int) 0 ;
17210 int arg6
= (int) 0 ;
17211 int arg7
= (int) 0 ;
17212 wxDateTime
*result
;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 PyObject
* obj2
= 0 ;
17216 PyObject
* obj3
= 0 ;
17217 PyObject
* obj4
= 0 ;
17218 PyObject
* obj5
= 0 ;
17219 PyObject
* obj6
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17225 arg1
= (int) SWIG_AsInt(obj0
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 arg3
= (int) SWIG_AsInt(obj2
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 arg4
= (int) SWIG_AsInt(obj3
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17240 arg5
= (int) SWIG_AsInt(obj4
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 arg6
= (int) SWIG_AsInt(obj5
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17248 arg7
= (int) SWIG_AsInt(obj6
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17265 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 Py_INCREF(Py_None
); resultobj
= Py_None
;
17290 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17293 wxDateTime
*result
;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
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_SetTimeT(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 *) "timet", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17333 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17339 result
= (wxDateTime
*) &_result_ref
;
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17352 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17356 wxDateTime
*result
;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "jdn", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= (double) SWIG_AsDouble(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17372 result
= (wxDateTime
*) &_result_ref
;
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17385 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17389 int arg3
= (int) 0 ;
17390 int arg4
= (int) 0 ;
17391 int arg5
= (int) 0 ;
17392 wxDateTime
*result
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 PyObject
* obj2
= 0 ;
17396 PyObject
* obj3
= 0 ;
17397 PyObject
* obj4
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 arg2
= (int) SWIG_AsInt(obj1
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 arg3
= (int) SWIG_AsInt(obj2
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 arg4
= (int) SWIG_AsInt(obj3
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 arg5
= (int) SWIG_AsInt(obj4
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17423 result
= (wxDateTime
*) &_result_ref
;
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17436 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17440 int arg3
= (int) wxDateTime::Inv_Month
;
17441 int arg4
= (int) wxDateTime::Inv_Year
;
17442 int arg5
= (int) 0 ;
17443 int arg6
= (int) 0 ;
17444 int arg7
= (int) 0 ;
17445 int arg8
= (int) 0 ;
17446 wxDateTime
*result
;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 PyObject
* obj2
= 0 ;
17450 PyObject
* obj3
= 0 ;
17451 PyObject
* obj4
= 0 ;
17452 PyObject
* obj5
= 0 ;
17453 PyObject
* obj6
= 0 ;
17454 PyObject
* obj7
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 arg2
= (int) SWIG_AsInt(obj1
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 arg4
= (int) SWIG_AsInt(obj3
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 arg5
= (int) SWIG_AsInt(obj4
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 arg6
= (int) SWIG_AsInt(obj5
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 arg7
= (int) SWIG_AsInt(obj6
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 arg8
= (int) SWIG_AsInt(obj7
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17492 result
= (wxDateTime
*) &_result_ref
;
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17505 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17508 wxDateTime
*result
;
17509 PyObject
* obj0
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17521 result
= (wxDateTime
*) &_result_ref
;
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17534 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17538 wxDateTime
*result
;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "year", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= (int) SWIG_AsInt(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17554 result
= (wxDateTime
*) &_result_ref
;
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17567 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17571 wxDateTime
*result
;
17572 PyObject
* obj0
= 0 ;
17573 PyObject
* obj1
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self",(char *) "month", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17581 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17587 result
= (wxDateTime
*) &_result_ref
;
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17600 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17604 wxDateTime
*result
;
17605 PyObject
* obj0
= 0 ;
17606 PyObject
* obj1
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "day", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 arg2
= (int) SWIG_AsInt(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17620 result
= (wxDateTime
*) &_result_ref
;
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17633 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17637 wxDateTime
*result
;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "hour", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 arg2
= (int) SWIG_AsInt(obj1
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17653 result
= (wxDateTime
*) &_result_ref
;
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17666 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17670 wxDateTime
*result
;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "minute", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17680 arg2
= (int) SWIG_AsInt(obj1
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17686 result
= (wxDateTime
*) &_result_ref
;
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17699 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17703 wxDateTime
*result
;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "second", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 arg2
= (int) SWIG_AsInt(obj1
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17719 result
= (wxDateTime
*) &_result_ref
;
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17732 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17736 wxDateTime
*result
;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "millisecond", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 arg2
= (int) SWIG_AsInt(obj1
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17752 result
= (wxDateTime
*) &_result_ref
;
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17765 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17769 int arg3
= (int) wxDateTime::Monday_First
;
17770 wxDateTime
*result
;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 PyObject
* obj2
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17781 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17791 result
= (wxDateTime
*) &_result_ref
;
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17804 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17808 int arg3
= (int) wxDateTime::Monday_First
;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 PyObject
* obj2
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17820 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 wxDateTime
* resultptr
;
17835 resultptr
= new wxDateTime((wxDateTime
&) result
);
17836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17844 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17848 wxDateTime
*result
;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self",(char *) "weekday", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17864 result
= (wxDateTime
*) &_result_ref
;
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17877 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "weekday", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 wxDateTime
* resultptr
;
17902 resultptr
= new wxDateTime((wxDateTime
&) result
);
17903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17911 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17915 wxDateTime
*result
;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "weekday", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17931 result
= (wxDateTime
*) &_result_ref
;
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17944 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "weekday", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 wxDateTime
* resultptr
;
17969 resultptr
= new wxDateTime((wxDateTime
&) result
);
17970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17978 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17982 int arg3
= (int) 1 ;
17983 int arg4
= (int) wxDateTime::Inv_Month
;
17984 int arg5
= (int) wxDateTime::Inv_Year
;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 PyObject
* obj3
= 0 ;
17990 PyObject
* obj4
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 arg3
= (int) SWIG_AsInt(obj2
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18005 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 arg5
= (int) SWIG_AsInt(obj4
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18026 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18030 int arg3
= (int) wxDateTime::Inv_Month
;
18031 int arg4
= (int) wxDateTime::Inv_Year
;
18033 PyObject
* obj0
= 0 ;
18034 PyObject
* obj1
= 0 ;
18035 PyObject
* obj2
= 0 ;
18036 PyObject
* obj3
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 arg4
= (int) SWIG_AsInt(obj3
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18068 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18072 int arg3
= (int) wxDateTime::Inv_Month
;
18073 int arg4
= (int) wxDateTime::Inv_Year
;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 PyObject
* obj2
= 0 ;
18078 PyObject
* obj3
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 arg4
= (int) SWIG_AsInt(obj3
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 wxDateTime
* resultptr
;
18105 resultptr
= new wxDateTime((wxDateTime
&) result
);
18106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18114 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18118 int arg3
= (int) wxDateTime::Mon
;
18119 int arg4
= (int) wxDateTime::Monday_First
;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 PyObject
* obj2
= 0 ;
18124 PyObject
* obj3
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= (int) SWIG_AsInt(obj1
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18156 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18160 int arg3
= (int) wxDateTime::Mon
;
18161 int arg4
= (int) wxDateTime::Monday_First
;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 PyObject
* obj2
= 0 ;
18166 PyObject
* obj3
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 arg2
= (int) SWIG_AsInt(obj1
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18192 wxDateTime
* resultptr
;
18193 resultptr
= new wxDateTime((wxDateTime
&) result
);
18194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18202 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18205 int arg2
= (int) wxDateTime::Inv_Month
;
18206 int arg3
= (int) wxDateTime::Inv_Year
;
18207 wxDateTime
*result
;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "month",(char *) "year", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18223 arg3
= (int) SWIG_AsInt(obj2
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18230 result
= (wxDateTime
*) &_result_ref
;
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18243 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18246 int arg2
= (int) wxDateTime::Inv_Month
;
18247 int arg3
= (int) wxDateTime::Inv_Year
;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "month",(char *) "year", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 arg3
= (int) SWIG_AsInt(obj2
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxDateTime
* resultptr
;
18276 resultptr
= new wxDateTime((wxDateTime
&) result
);
18277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18285 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18289 wxDateTime
*result
;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "yday", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18299 arg2
= (int) SWIG_AsInt(obj1
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18305 result
= (wxDateTime
*) &_result_ref
;
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18318 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "yday", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 arg2
= (int) SWIG_AsInt(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (arg1
)->GetYearDay(arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 wxDateTime
* resultptr
;
18343 resultptr
= new wxDateTime((wxDateTime
&) result
);
18344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18352 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (double)(arg1
)->GetJulianDayNumber();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_FromDouble((double)result
);
18378 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (double)(arg1
)->GetJDN();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_FromDouble((double)result
);
18404 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_FromDouble((double)result
);
18430 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (double)(arg1
)->GetMJD();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_FromDouble((double)result
);
18456 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (double)(arg1
)->GetRataDie();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_FromDouble((double)result
);
18482 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18485 wxDateTime::TimeZone
*arg2
= 0 ;
18486 bool arg3
= (bool) False
;
18488 bool temp2
= False
;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 PyObject
* obj2
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18504 arg3
= (bool) SWIG_AsBool(obj2
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18515 wxDateTime
* resultptr
;
18516 resultptr
= new wxDateTime((wxDateTime
&) result
);
18517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18520 if (temp2
) delete arg2
;
18525 if (temp2
) delete arg2
;
18531 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18534 wxDateTime::TimeZone
*arg2
= 0 ;
18535 bool arg3
= (bool) False
;
18536 wxDateTime
*result
;
18537 bool temp2
= False
;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18553 arg3
= (bool) SWIG_AsBool(obj2
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18560 result
= (wxDateTime
*) &_result_ref
;
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18568 if (temp2
) delete arg2
;
18573 if (temp2
) delete arg2
;
18579 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18582 bool arg2
= (bool) False
;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "noDST", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg2
= (bool) SWIG_AsBool(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (arg1
)->ToGMT(arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 wxDateTime
* resultptr
;
18606 resultptr
= new wxDateTime((wxDateTime
&) result
);
18607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18615 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18618 bool arg2
= (bool) False
;
18619 wxDateTime
*result
;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "noDST", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 arg2
= (bool) SWIG_AsBool(obj1
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18637 result
= (wxDateTime
*) &_result_ref
;
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18650 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18653 int arg2
= (int) wxDateTime::Country_Default
;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "country", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18665 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= SWIG_FromInt((int)result
);
18682 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18708 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18734 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18737 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18738 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18740 bool temp2
= False
;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "tz", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18752 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_FromInt((int)result
);
18765 if (temp2
) delete arg2
;
18770 if (temp2
) delete arg2
;
18776 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18779 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18780 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18782 bool temp2
= False
;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self",(char *) "tz", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_FromInt((int)result
);
18807 if (temp2
) delete arg2
;
18812 if (temp2
) delete arg2
;
18818 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18821 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18822 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18824 bool temp2
= False
;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self",(char *) "tz", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_FromInt((int)result
);
18849 if (temp2
) delete arg2
;
18854 if (temp2
) delete arg2
;
18860 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18863 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18864 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18866 bool temp2
= False
;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self",(char *) "tz", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 resultobj
= SWIG_FromInt((int)result
);
18891 if (temp2
) delete arg2
;
18896 if (temp2
) delete arg2
;
18902 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18905 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18906 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18908 bool temp2
= False
;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self",(char *) "tz", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_FromInt((int)result
);
18933 if (temp2
) delete arg2
;
18938 if (temp2
) delete arg2
;
18944 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18947 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18948 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18950 bool temp2
= False
;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "tz", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_FromInt((int)result
);
18975 if (temp2
) delete arg2
;
18980 if (temp2
) delete arg2
;
18986 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18989 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18990 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18992 bool temp2
= False
;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "tz", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_FromInt((int)result
);
19017 if (temp2
) delete arg2
;
19022 if (temp2
) delete arg2
;
19028 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19031 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19032 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19034 bool temp2
= False
;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self",(char *) "tz", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_FromInt((int)result
);
19059 if (temp2
) delete arg2
;
19064 if (temp2
) delete arg2
;
19070 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19073 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19074 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19076 bool temp2
= False
;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "self",(char *) "tz", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_FromInt((int)result
);
19101 if (temp2
) delete arg2
;
19106 if (temp2
) delete arg2
;
19112 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19115 int arg2
= (int) wxDateTime::Monday_First
;
19116 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19117 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19119 bool temp3
= False
;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 PyObject
* obj2
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "flags",(char *) "tz", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19131 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19136 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= SWIG_FromInt((int)result
);
19149 if (temp3
) delete arg3
;
19154 if (temp3
) delete arg3
;
19160 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19163 int arg2
= (int) wxDateTime::Monday_First
;
19164 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19165 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19167 bool temp3
= False
;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 PyObject
* obj2
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "flags",(char *) "tz", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19184 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_FromInt((int)result
);
19197 if (temp3
) delete arg3
;
19202 if (temp3
) delete arg3
;
19208 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19211 int arg2
= (int) wxDateTime::Country_Default
;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "country", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19240 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19243 wxDateTime
*arg2
= 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "datetime", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19257 if (arg2
== NULL
) {
19258 PyErr_SetString(PyExc_TypeError
,"null reference");
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19275 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19278 wxDateTime
*arg2
= 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "datetime", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19292 if (arg2
== NULL
) {
19293 PyErr_SetString(PyExc_TypeError
,"null reference");
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19310 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19313 wxDateTime
*arg2
= 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "datetime", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19327 if (arg2
== NULL
) {
19328 PyErr_SetString(PyExc_TypeError
,"null reference");
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19345 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19348 wxDateTime
*arg2
= 0 ;
19349 wxDateTime
*arg3
= 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 PyObject
* obj2
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "t1",(char *) "t2", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19364 if (arg2
== NULL
) {
19365 PyErr_SetString(PyExc_TypeError
,"null reference");
19368 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19371 if (arg3
== NULL
) {
19372 PyErr_SetString(PyExc_TypeError
,"null reference");
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19389 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19392 wxDateTime
*arg2
= 0 ;
19393 wxDateTime
*arg3
= 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "t1",(char *) "t2", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19408 if (arg2
== NULL
) {
19409 PyErr_SetString(PyExc_TypeError
,"null reference");
19412 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19415 if (arg3
== NULL
) {
19416 PyErr_SetString(PyExc_TypeError
,"null reference");
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19433 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19436 wxDateTime
*arg2
= 0 ;
19438 PyObject
* obj0
= 0 ;
19439 PyObject
* obj1
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self",(char *) "dt", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19450 if (arg2
== NULL
) {
19451 PyErr_SetString(PyExc_TypeError
,"null reference");
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19468 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19471 wxDateTime
*arg2
= 0 ;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "dt", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19485 if (arg2
== NULL
) {
19486 PyErr_SetString(PyExc_TypeError
,"null reference");
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19503 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19506 wxDateTime
*arg2
= 0 ;
19507 wxTimeSpan
*arg3
= 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 PyObject
* obj2
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "dt",(char *) "ts", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19522 if (arg2
== NULL
) {
19523 PyErr_SetString(PyExc_TypeError
,"null reference");
19526 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19529 if (arg3
== NULL
) {
19530 PyErr_SetString(PyExc_TypeError
,"null reference");
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19547 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19550 wxTimeSpan
*arg2
= 0 ;
19551 wxDateTime
*result
;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self",(char *) "diff", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19564 if (arg2
== NULL
) {
19565 PyErr_SetString(PyExc_TypeError
,"null reference");
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19572 result
= (wxDateTime
*) &_result_ref
;
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19585 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19588 wxDateSpan
*arg2
= 0 ;
19589 wxDateTime
*result
;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "diff", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19602 if (arg2
== NULL
) {
19603 PyErr_SetString(PyExc_TypeError
,"null reference");
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19610 result
= (wxDateTime
*) &_result_ref
;
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19623 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19626 wxTimeSpan
*arg2
= 0 ;
19627 wxDateTime
*result
;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self",(char *) "diff", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19640 if (arg2
== NULL
) {
19641 PyErr_SetString(PyExc_TypeError
,"null reference");
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19648 result
= (wxDateTime
*) &_result_ref
;
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19661 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19664 wxDateSpan
*arg2
= 0 ;
19665 wxDateTime
*result
;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "diff", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19678 if (arg2
== NULL
) {
19679 PyErr_SetString(PyExc_TypeError
,"null reference");
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19686 result
= (wxDateTime
*) &_result_ref
;
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19699 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19702 wxDateTime
*arg2
= 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "dt", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19716 if (arg2
== NULL
) {
19717 PyErr_SetString(PyExc_TypeError
,"null reference");
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19728 wxTimeSpan
* resultptr
;
19729 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19738 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19739 PyObject
*resultobj
;
19740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19741 wxTimeSpan
*arg2
= 0 ;
19742 wxDateTime
*result
;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19746 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19752 if (arg2
== NULL
) {
19753 PyErr_SetString(PyExc_TypeError
,"null reference");
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19760 result
= (wxDateTime
*) &_result_ref
;
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19773 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19774 PyObject
*resultobj
;
19775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19776 wxDateSpan
*arg2
= 0 ;
19777 wxDateTime
*result
;
19778 PyObject
* obj0
= 0 ;
19779 PyObject
* obj1
= 0 ;
19781 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19787 if (arg2
== NULL
) {
19788 PyErr_SetString(PyExc_TypeError
,"null reference");
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19795 result
= (wxDateTime
*) &_result_ref
;
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19808 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19813 argc
= PyObject_Length(args
);
19814 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19815 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19839 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19865 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19870 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19875 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19876 PyObject
*resultobj
;
19877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19878 wxTimeSpan
*arg2
= 0 ;
19879 wxDateTime
*result
;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19883 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19889 if (arg2
== NULL
) {
19890 PyErr_SetString(PyExc_TypeError
,"null reference");
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19897 result
= (wxDateTime
*) &_result_ref
;
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19910 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19911 PyObject
*resultobj
;
19912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19913 wxDateSpan
*arg2
= 0 ;
19914 wxDateTime
*result
;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19918 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19924 if (arg2
== NULL
) {
19925 PyErr_SetString(PyExc_TypeError
,"null reference");
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19932 result
= (wxDateTime
*) &_result_ref
;
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19945 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19950 argc
= PyObject_Length(args
);
19951 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19952 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19958 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19968 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19976 return _wrap_DateTime___isub____SWIG_0(self
,args
);
19984 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19994 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20002 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20007 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20012 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20013 PyObject
*resultobj
;
20014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20015 wxTimeSpan
*arg2
= 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20020 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20026 if (arg2
== NULL
) {
20027 PyErr_SetString(PyExc_TypeError
,"null reference");
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20038 wxDateTime
* resultptr
;
20039 resultptr
= new wxDateTime((wxDateTime
&) result
);
20040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20048 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20049 PyObject
*resultobj
;
20050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20051 wxDateSpan
*arg2
= 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20056 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20062 if (arg2
== NULL
) {
20063 PyErr_SetString(PyExc_TypeError
,"null reference");
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20074 wxDateTime
* resultptr
;
20075 resultptr
= new wxDateTime((wxDateTime
&) result
);
20076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20084 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20089 argc
= PyObject_Length(args
);
20090 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20091 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20097 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20107 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20115 return _wrap_DateTime___add____SWIG_0(self
,args
);
20123 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20133 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20141 return _wrap_DateTime___add____SWIG_1(self
,args
);
20146 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20151 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20152 PyObject
*resultobj
;
20153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20154 wxDateTime
*arg2
= 0 ;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20159 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20165 if (arg2
== NULL
) {
20166 PyErr_SetString(PyExc_TypeError
,"null reference");
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 wxTimeSpan
* resultptr
;
20178 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20187 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20188 PyObject
*resultobj
;
20189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20190 wxTimeSpan
*arg2
= 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20195 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20201 if (arg2
== NULL
) {
20202 PyErr_SetString(PyExc_TypeError
,"null reference");
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20213 wxDateTime
* resultptr
;
20214 resultptr
= new wxDateTime((wxDateTime
&) result
);
20215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20223 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20224 PyObject
*resultobj
;
20225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20226 wxDateSpan
*arg2
= 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20231 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20237 if (arg2
== NULL
) {
20238 PyErr_SetString(PyExc_TypeError
,"null reference");
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 wxDateTime
* resultptr
;
20250 resultptr
= new wxDateTime((wxDateTime
&) result
);
20251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20259 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20264 argc
= PyObject_Length(args
);
20265 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20266 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20272 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20282 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20290 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20298 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20308 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20316 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20324 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20334 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20342 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20347 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20352 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20353 PyObject
*resultobj
;
20354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20355 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20360 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20379 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20380 PyObject
*resultobj
;
20381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20382 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20387 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20406 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20407 PyObject
*resultobj
;
20408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20409 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20414 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20433 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20434 PyObject
*resultobj
;
20435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20436 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20441 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20460 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20461 PyObject
*resultobj
;
20462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20463 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20468 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20487 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20488 PyObject
*resultobj
;
20489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20490 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20495 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20514 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20517 wxString
*arg2
= 0 ;
20519 bool temp2
= False
;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "date", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20530 arg2
= wxString_in_helper(obj1
);
20531 if (arg2
== NULL
) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_FromInt((int)result
);
20556 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20559 wxString
*arg2
= 0 ;
20560 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20562 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20563 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20565 bool temp2
= False
;
20566 bool temp3
= False
;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 PyObject
* obj2
= 0 ;
20570 PyObject
* obj3
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 arg2
= wxString_in_helper(obj1
);
20580 if (arg2
== NULL
) SWIG_fail
;
20585 arg3
= wxString_in_helper(obj2
);
20586 if (arg3
== NULL
) SWIG_fail
;
20591 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20594 if (arg4
== NULL
) {
20595 PyErr_SetString(PyExc_TypeError
,"null reference");
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_FromInt((int)result
);
20629 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20632 wxString
*arg2
= 0 ;
20634 bool temp2
= False
;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self",(char *) "datetime", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 arg2
= wxString_in_helper(obj1
);
20646 if (arg2
== NULL
) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_FromInt((int)result
);
20671 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20674 wxString
*arg2
= 0 ;
20676 bool temp2
= False
;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self",(char *) "date", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20687 arg2
= wxString_in_helper(obj1
);
20688 if (arg2
== NULL
) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= SWIG_FromInt((int)result
);
20713 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20716 wxString
*arg2
= 0 ;
20718 bool temp2
= False
;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self",(char *) "time", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 arg2
= wxString_in_helper(obj1
);
20730 if (arg2
== NULL
) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_FromInt((int)result
);
20755 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20758 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20759 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20760 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20761 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20763 bool temp2
= False
;
20764 bool temp3
= False
;
20765 PyObject
* obj0
= 0 ;
20766 PyObject
* obj1
= 0 ;
20767 PyObject
* obj2
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self",(char *) "format",(char *) "tz", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 arg2
= wxString_in_helper(obj1
);
20778 if (arg2
== NULL
) SWIG_fail
;
20784 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20807 if (temp3
) delete arg3
;
20816 if (temp3
) delete arg3
;
20822 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20854 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20886 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20918 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20950 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20953 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20955 return Py_BuildValue((char *)"");
20957 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "sec", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20967 arg1
= (long) SWIG_AsLong(obj0
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= wxTimeSpan::Seconds(arg1
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 wxTimeSpan
* resultptr
;
20978 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20987 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20990 char *kwnames
[] = {
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= wxTimeSpan::Second();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21003 wxTimeSpan
* resultptr
;
21004 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21013 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "min", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21023 arg1
= (long) SWIG_AsLong(obj0
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= wxTimeSpan::Minutes(arg1
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21033 wxTimeSpan
* resultptr
;
21034 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21043 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21046 char *kwnames
[] = {
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= wxTimeSpan::Minute();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 wxTimeSpan
* resultptr
;
21060 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21069 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21073 PyObject
* obj0
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "hours", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21079 arg1
= (long) SWIG_AsLong(obj0
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= wxTimeSpan::Hours(arg1
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21089 wxTimeSpan
* resultptr
;
21090 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21099 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21102 char *kwnames
[] = {
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= wxTimeSpan::Hour();
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21115 wxTimeSpan
* resultptr
;
21116 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21125 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21129 PyObject
* obj0
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "days", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21135 arg1
= (long) SWIG_AsLong(obj0
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= wxTimeSpan::Days(arg1
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21145 wxTimeSpan
* resultptr
;
21146 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21155 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21158 char *kwnames
[] = {
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= wxTimeSpan::Day();
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21171 wxTimeSpan
* resultptr
;
21172 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21181 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21185 PyObject
* obj0
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "days", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21191 arg1
= (long) SWIG_AsLong(obj0
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= wxTimeSpan::Weeks(arg1
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 wxTimeSpan
* resultptr
;
21202 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21211 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21214 char *kwnames
[] = {
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= wxTimeSpan::Week();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 wxTimeSpan
* resultptr
;
21228 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21237 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 long arg1
= (long) 0 ;
21240 long arg2
= (long) 0 ;
21241 long arg3
= (long) 0 ;
21242 long arg4
= (long) 0 ;
21243 wxTimeSpan
*result
;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 PyObject
* obj2
= 0 ;
21247 PyObject
* obj3
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21254 arg1
= (long) SWIG_AsLong(obj0
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 arg2
= (long) SWIG_AsLong(obj1
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 arg3
= (long) SWIG_AsLong(obj2
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 arg4
= (long) SWIG_AsLong(obj3
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21283 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21311 wxTimeSpan
*arg2
= 0 ;
21312 wxTimeSpan
*result
;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "diff", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21325 if (arg2
== NULL
) {
21326 PyErr_SetString(PyExc_TypeError
,"null reference");
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21333 result
= (wxTimeSpan
*) &_result_ref
;
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21346 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21349 wxTimeSpan
*arg2
= 0 ;
21350 wxTimeSpan
*result
;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self",(char *) "diff", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21363 if (arg2
== NULL
) {
21364 PyErr_SetString(PyExc_TypeError
,"null reference");
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21371 result
= (wxTimeSpan
*) &_result_ref
;
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21384 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21388 wxTimeSpan
*result
;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "n", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21398 arg2
= (int) SWIG_AsInt(obj1
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21404 result
= (wxTimeSpan
*) &_result_ref
;
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21417 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21420 wxTimeSpan
*result
;
21421 PyObject
* obj0
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21433 result
= (wxTimeSpan
*) &_result_ref
;
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21446 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 wxTimeSpan
* resultptr
;
21467 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21476 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21479 wxTimeSpan
*arg2
= 0 ;
21480 wxTimeSpan
*result
;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "diff", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21493 if (arg2
== NULL
) {
21494 PyErr_SetString(PyExc_TypeError
,"null reference");
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21501 result
= (wxTimeSpan
*) &_result_ref
;
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21514 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21517 wxTimeSpan
*arg2
= 0 ;
21518 wxTimeSpan
*result
;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self",(char *) "diff", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21531 if (arg2
== NULL
) {
21532 PyErr_SetString(PyExc_TypeError
,"null reference");
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21539 result
= (wxTimeSpan
*) &_result_ref
;
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21552 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21556 wxTimeSpan
*result
;
21557 PyObject
* obj0
= 0 ;
21558 PyObject
* obj1
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "n", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 arg2
= (int) SWIG_AsInt(obj1
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21572 result
= (wxTimeSpan
*) &_result_ref
;
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21585 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21588 wxTimeSpan
*result
;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21601 result
= (wxTimeSpan
*) &_result_ref
;
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21614 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21617 wxTimeSpan
*arg2
= 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "other", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21631 if (arg2
== NULL
) {
21632 PyErr_SetString(PyExc_TypeError
,"null reference");
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 wxTimeSpan
* resultptr
;
21644 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21653 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21656 wxTimeSpan
*arg2
= 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "other", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21670 if (arg2
== NULL
) {
21671 PyErr_SetString(PyExc_TypeError
,"null reference");
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 wxTimeSpan
* resultptr
;
21683 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21692 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self",(char *) "n", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21706 arg2
= (int) SWIG_AsInt(obj1
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= wxTimeSpan___mul__(arg1
,arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 wxTimeSpan
* resultptr
;
21717 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21726 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "n", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21740 arg2
= (int) SWIG_AsInt(obj1
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 wxTimeSpan
* resultptr
;
21751 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21760 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21762 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21763 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "other", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21793 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "other", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21820 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21823 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "other", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21850 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21853 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "other", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21880 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21883 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "other", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21913 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "other", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21940 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21944 PyObject
* obj0
= 0 ;
21945 char *kwnames
[] = {
21946 (char *) "self", NULL
21949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21992 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22018 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22021 wxTimeSpan
*arg2
= 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "ts", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22035 if (arg2
== NULL
) {
22036 PyErr_SetString(PyExc_TypeError
,"null reference");
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22056 wxTimeSpan
*arg2
= 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "ts", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22070 if (arg2
== NULL
) {
22071 PyErr_SetString(PyExc_TypeError
,"null reference");
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22090 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22091 wxTimeSpan
*arg2
= 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self",(char *) "t", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22105 if (arg2
== NULL
) {
22106 PyErr_SetString(PyExc_TypeError
,"null reference");
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22123 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_FromInt((int)result
);
22149 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_FromInt((int)result
);
22175 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_FromInt((int)result
);
22201 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_FromInt((int)result
);
22227 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22248 hi
= PyLong_FromLong( (&result
)->GetHi() );
22249 lo
= PyLong_FromLong( (&result
)->GetLo() );
22250 shifter
= PyLong_FromLong(32);
22251 shifted
= PyNumber_Lshift(hi
, shifter
);
22252 resultobj
= PyNumber_Or(shifted
, lo
);
22255 Py_DECREF(shifter
);
22256 Py_DECREF(shifted
);
22264 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22284 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22285 hi
= PyLong_FromLong( (&result
)->GetHi() );
22286 lo
= PyLong_FromLong( (&result
)->GetLo() );
22287 shifter
= PyLong_FromLong(32);
22288 shifted
= PyNumber_Lshift(hi
, shifter
);
22289 resultobj
= PyNumber_Or(shifted
, lo
);
22292 Py_DECREF(shifter
);
22293 Py_DECREF(shifted
);
22301 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22304 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22305 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22307 bool temp2
= False
;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "format", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 arg2
= wxString_in_helper(obj1
);
22320 if (arg2
== NULL
) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22352 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22355 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22357 return Py_BuildValue((char *)"");
22359 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 int arg1
= (int) 0 ;
22362 int arg2
= (int) 0 ;
22363 int arg3
= (int) 0 ;
22364 int arg4
= (int) 0 ;
22365 wxDateSpan
*result
;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 PyObject
* obj2
= 0 ;
22369 PyObject
* obj3
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22376 arg1
= (int) SWIG_AsInt(obj0
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 arg2
= (int) SWIG_AsInt(obj1
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22384 arg3
= (int) SWIG_AsInt(obj2
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 arg4
= (int) SWIG_AsInt(obj3
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22405 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "days", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22440 arg1
= (int) SWIG_AsInt(obj0
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= wxDateSpan::Days(arg1
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 wxDateSpan
* resultptr
;
22451 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22460 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22463 char *kwnames
[] = {
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= wxDateSpan::Day();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22476 wxDateSpan
* resultptr
;
22477 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22486 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22490 PyObject
* obj0
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "weeks", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22496 arg1
= (int) SWIG_AsInt(obj0
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= wxDateSpan::Weeks(arg1
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 wxDateSpan
* resultptr
;
22507 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22516 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22519 char *kwnames
[] = {
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= wxDateSpan::Week();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 wxDateSpan
* resultptr
;
22533 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22542 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22546 PyObject
* obj0
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "mon", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22552 arg1
= (int) SWIG_AsInt(obj0
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= wxDateSpan::Months(arg1
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 wxDateSpan
* resultptr
;
22563 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22572 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22575 char *kwnames
[] = {
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= wxDateSpan::Month();
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22588 wxDateSpan
* resultptr
;
22589 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22598 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22602 PyObject
* obj0
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "years", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22608 arg1
= (int) SWIG_AsInt(obj0
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= wxDateSpan::Years(arg1
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 wxDateSpan
* resultptr
;
22619 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22628 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22631 char *kwnames
[] = {
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= wxDateSpan::Year();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 wxDateSpan
* resultptr
;
22645 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22654 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22658 wxDateSpan
*result
;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "n", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 arg2
= (int) SWIG_AsInt(obj1
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22674 result
= (wxDateSpan
*) &_result_ref
;
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22687 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22691 wxDateSpan
*result
;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "n", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 arg2
= (int) SWIG_AsInt(obj1
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22707 result
= (wxDateSpan
*) &_result_ref
;
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22720 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22724 wxDateSpan
*result
;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "n", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 arg2
= (int) SWIG_AsInt(obj1
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22740 result
= (wxDateSpan
*) &_result_ref
;
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22753 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22757 wxDateSpan
*result
;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "n", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22767 arg2
= (int) SWIG_AsInt(obj1
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22773 result
= (wxDateSpan
*) &_result_ref
;
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22786 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_FromInt((int)result
);
22812 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_FromInt((int)result
);
22838 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_FromInt((int)result
);
22864 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_FromInt((int)result
);
22890 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_FromInt((int)result
);
22916 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22919 wxDateSpan
*arg2
= 0 ;
22920 wxDateSpan
*result
;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "other", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22933 if (arg2
== NULL
) {
22934 PyErr_SetString(PyExc_TypeError
,"null reference");
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22941 result
= (wxDateSpan
*) &_result_ref
;
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22954 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22957 wxDateSpan
*arg2
= 0 ;
22958 wxDateSpan
*result
;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self",(char *) "other", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22971 if (arg2
== NULL
) {
22972 PyErr_SetString(PyExc_TypeError
,"null reference");
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22979 result
= (wxDateSpan
*) &_result_ref
;
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22992 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22995 wxDateSpan
*result
;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23008 result
= (wxDateSpan
*) &_result_ref
;
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23021 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23025 wxDateSpan
*result
;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "factor", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23035 arg2
= (int) SWIG_AsInt(obj1
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23041 result
= (wxDateSpan
*) &_result_ref
;
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23054 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23057 wxDateSpan
*arg2
= 0 ;
23058 wxDateSpan
*result
;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "other", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23071 if (arg2
== NULL
) {
23072 PyErr_SetString(PyExc_TypeError
,"null reference");
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23079 result
= (wxDateSpan
*) &_result_ref
;
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23092 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23095 wxDateSpan
*arg2
= 0 ;
23096 wxDateSpan
*result
;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self",(char *) "other", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23109 if (arg2
== NULL
) {
23110 PyErr_SetString(PyExc_TypeError
,"null reference");
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23117 result
= (wxDateSpan
*) &_result_ref
;
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23130 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23133 wxDateSpan
*result
;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23146 result
= (wxDateSpan
*) &_result_ref
;
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23159 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23163 wxDateSpan
*result
;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "factor", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 arg2
= (int) SWIG_AsInt(obj1
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23179 result
= (wxDateSpan
*) &_result_ref
;
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23192 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23195 wxDateSpan
*arg2
= 0 ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "other", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23209 if (arg2
== NULL
) {
23210 PyErr_SetString(PyExc_TypeError
,"null reference");
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 wxDateSpan
* resultptr
;
23222 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23231 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23234 wxDateSpan
*arg2
= 0 ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "other", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23248 if (arg2
== NULL
) {
23249 PyErr_SetString(PyExc_TypeError
,"null reference");
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 wxDateSpan
* resultptr
;
23261 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23270 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self",(char *) "n", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 arg2
= (int) SWIG_AsInt(obj1
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= wxDateSpan___mul__(arg1
,arg2
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 wxDateSpan
* resultptr
;
23295 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23304 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "n", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 arg2
= (int) SWIG_AsInt(obj1
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= wxDateSpan___rmul__(arg1
,arg2
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23328 wxDateSpan
* resultptr
;
23329 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23338 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23341 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "other", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23368 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23371 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "other", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23398 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23401 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23403 return Py_BuildValue((char *)"");
23405 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23408 char *kwnames
[] = {
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (long)wxGetLocalTime();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_FromLong((long)result
);
23427 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23430 char *kwnames
[] = {
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= (long)wxGetUTCTime();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_FromLong((long)result
);
23449 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23452 char *kwnames
[] = {
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (long)wxGetCurrentTime();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= SWIG_FromLong((long)result
);
23471 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23474 char *kwnames
[] = {
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= wxGetLocalTimeMillis();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23488 hi
= PyLong_FromLong( (&result
)->GetHi() );
23489 lo
= PyLong_FromLong( (&result
)->GetLo() );
23490 shifter
= PyLong_FromLong(32);
23491 shifted
= PyNumber_Lshift(hi
, shifter
);
23492 resultobj
= PyNumber_Or(shifted
, lo
);
23495 Py_DECREF(shifter
);
23496 Py_DECREF(shifted
);
23504 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23505 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23510 static PyObject
*_wrap_DefaultDateTime_get() {
23513 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23518 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23521 wxDataFormat
*result
;
23522 PyObject
* obj0
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "type", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23528 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23544 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxString
*arg1
= 0 ;
23547 wxDataFormat
*result
;
23548 bool temp1
= False
;
23549 PyObject
* obj0
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "format", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23556 arg1
= wxString_in_helper(obj0
);
23557 if (arg1
== NULL
) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23582 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 Py_INCREF(Py_None
); resultobj
= Py_None
;
23607 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23608 PyObject
*resultobj
;
23609 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23615 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23634 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23635 PyObject
*resultobj
;
23636 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23642 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23645 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23661 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23662 PyObject
*resultobj
;
23663 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23664 wxDataFormat
*arg2
= 0 ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23669 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23675 if (arg2
== NULL
) {
23676 PyErr_SetString(PyExc_TypeError
,"null reference");
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23693 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23698 argc
= PyObject_Length(args
);
23699 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23724 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23740 _v
= SWIG_CheckInt(argv
[1]);
23742 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23747 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23752 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23753 PyObject
*resultobj
;
23754 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23755 wxDataFormat
*arg2
= 0 ;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23760 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23766 if (arg2
== NULL
) {
23767 PyErr_SetString(PyExc_TypeError
,"null reference");
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23784 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23789 argc
= PyObject_Length(args
);
23790 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23791 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23797 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23807 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23815 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23823 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23831 _v
= SWIG_CheckInt(argv
[1]);
23833 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23838 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23843 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "format", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->SetType((wxDataFormatId
)arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_FromInt((int)result
);
23898 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= ((wxDataFormat
const *)arg1
)->GetId();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23930 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
;
23932 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23933 wxString
*arg2
= 0 ;
23934 bool temp2
= False
;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "format", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 arg2
= wxString_in_helper(obj1
);
23946 if (arg2
== NULL
) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 (arg1
)->SetId((wxString
const &)*arg2
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 Py_INCREF(Py_None
); resultobj
= Py_None
;
23971 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23974 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
23976 return Py_BuildValue((char *)"");
23978 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
23979 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
23984 static PyObject
*_wrap_FormatInvalid_get() {
23987 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
23992 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
23995 PyObject
* obj0
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 Py_INCREF(Py_None
); resultobj
= Py_None
;
24017 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24020 int arg2
= (int) wxDataObject::Get
;
24021 SwigValueWrapper
< wxDataFormat
> result
;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self",(char *) "dir", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 wxDataFormat
* resultptr
;
24044 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24053 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24056 int arg2
= (int) wxDataObject::Get
;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "dir", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24068 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24085 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24088 wxDataFormat
*arg2
= 0 ;
24089 int arg3
= (int) wxDataObject::Get
;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 PyObject
* obj2
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self",(char *) "format",(char *) "dir", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24104 if (arg2
== NULL
) {
24105 PyErr_SetString(PyExc_TypeError
,"null reference");
24109 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24126 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24129 wxDataFormat
*arg2
= 0 ;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 char *kwnames
[] = {
24134 (char *) "self",(char *) "format", NULL
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24143 if (arg2
== NULL
) {
24144 PyErr_SetString(PyExc_TypeError
,"null reference");
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24161 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24164 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24165 int arg3
= (int) wxDataObject::Get
;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 PyObject
* obj2
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "formats",(char *) "dir", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24179 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 Py_INCREF(Py_None
); resultobj
= Py_None
;
24196 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24199 wxDataFormat
*arg2
= 0 ;
24200 void *arg3
= (void *) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 PyObject
* obj2
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "format",(char *) "buf", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24215 if (arg2
== NULL
) {
24216 PyErr_SetString(PyExc_TypeError
,"null reference");
24219 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24234 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24237 wxDataFormat
*arg2
= 0 ;
24239 void *arg4
= (void *) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 PyObject
* obj2
= 0 ;
24244 PyObject
* obj3
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24255 if (arg2
== NULL
) {
24256 PyErr_SetString(PyExc_TypeError
,"null reference");
24259 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24261 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24276 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24279 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24281 return Py_BuildValue((char *)"");
24283 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24286 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24287 wxDataObjectSimple
*result
;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "format", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24298 if (arg1
== NULL
) {
24299 PyErr_SetString(PyExc_TypeError
,"null reference");
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24317 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24320 wxDataFormat
*result
;
24321 PyObject
* obj0
= 0 ;
24322 char *kwnames
[] = {
24323 (char *) "self", NULL
24326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24333 result
= (wxDataFormat
*) &_result_ref
;
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24346 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24349 wxDataFormat
*arg2
= 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "format", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24362 if (arg2
== NULL
) {
24363 PyErr_SetString(PyExc_TypeError
,"null reference");
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 Py_INCREF(Py_None
); resultobj
= Py_None
;
24380 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24383 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24385 return Py_BuildValue((char *)"");
24387 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24390 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24391 wxPyDataObjectSimple
*result
;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "format", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24402 if (arg1
== NULL
) {
24403 PyErr_SetString(PyExc_TypeError
,"null reference");
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24421 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24424 PyObject
*arg2
= (PyObject
*) 0 ;
24425 PyObject
*arg3
= (PyObject
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 PyObject
* obj2
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self",(char *) "self",(char *) "_class", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 Py_INCREF(Py_None
); resultobj
= Py_None
;
24452 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24455 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24457 return Py_BuildValue((char *)"");
24459 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxDataObjectComposite
*result
;
24462 char *kwnames
[] = {
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24481 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24484 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24485 int arg3
= (int) False
;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 PyObject
* obj2
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24497 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24499 arg3
= (int) SWIG_AsInt(obj2
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 (arg1
)->Add(arg2
,arg3
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 Py_INCREF(Py_None
); resultobj
= Py_None
;
24516 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24519 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24521 return Py_BuildValue((char *)"");
24523 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24526 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24527 wxTextDataObject
*result
;
24528 bool temp1
= False
;
24529 PyObject
* obj0
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "text", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24537 arg1
= wxString_in_helper(obj0
);
24538 if (arg1
== NULL
) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24564 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (size_t)(arg1
)->GetTextLength();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24590 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (arg1
)->GetText();
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24622 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24625 wxString
*arg2
= 0 ;
24626 bool temp2
= False
;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 char *kwnames
[] = {
24630 (char *) "self",(char *) "text", NULL
24633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24637 arg2
= wxString_in_helper(obj1
);
24638 if (arg2
== NULL
) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 (arg1
)->SetText((wxString
const &)*arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 Py_INCREF(Py_None
); resultobj
= Py_None
;
24663 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24666 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24668 return Py_BuildValue((char *)"");
24670 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24673 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24674 wxPyTextDataObject
*result
;
24675 bool temp1
= False
;
24676 PyObject
* obj0
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "text", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24684 arg1
= wxString_in_helper(obj0
);
24685 if (arg1
== NULL
) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24711 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24714 PyObject
*arg2
= (PyObject
*) 0 ;
24715 PyObject
*arg3
= (PyObject
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 PyObject
* obj2
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "self",(char *) "_class", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24742 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24745 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24747 return Py_BuildValue((char *)"");
24749 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24752 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24753 wxBitmapDataObject
*result
;
24754 PyObject
* obj0
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "bitmap", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24764 if (arg1
== NULL
) {
24765 PyErr_SetString(PyExc_TypeError
,"null reference");
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24783 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24803 wxBitmap
* resultptr
;
24804 resultptr
= new wxBitmap((wxBitmap
&) result
);
24805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24813 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24816 wxBitmap
*arg2
= 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self",(char *) "bitmap", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
24827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24829 if (arg2
== NULL
) {
24830 PyErr_SetString(PyExc_TypeError
,"null reference");
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 Py_INCREF(Py_None
); resultobj
= Py_None
;
24847 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24850 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24852 return Py_BuildValue((char *)"");
24854 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24857 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24858 wxPyBitmapDataObject
*result
;
24859 PyObject
* obj0
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "bitmap", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24869 if (arg1
== NULL
) {
24870 PyErr_SetString(PyExc_TypeError
,"null reference");
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24888 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24891 PyObject
*arg2
= (PyObject
*) 0 ;
24892 PyObject
*arg3
= (PyObject
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 PyObject
* obj2
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "self",(char *) "_class", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 Py_INCREF(Py_None
); resultobj
= Py_None
;
24919 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24922 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24924 return Py_BuildValue((char *)"");
24926 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxFileDataObject
*result
;
24929 char *kwnames
[] = {
24933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (wxFileDataObject
*)new wxFileDataObject();
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
24948 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24951 wxArrayString
*result
;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24964 result
= (wxArrayString
*) &_result_ref
;
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= wxArrayString2PyList_helper(*result
);
24979 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24982 wxString
*arg2
= 0 ;
24983 bool temp2
= False
;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "filename", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
24991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24994 arg2
= wxString_in_helper(obj1
);
24995 if (arg2
== NULL
) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 (arg1
)->AddFile((wxString
const &)*arg2
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 Py_INCREF(Py_None
); resultobj
= Py_None
;
25020 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25023 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25025 return Py_BuildValue((char *)"");
25027 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25030 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25031 wxCustomDataObject
*result
;
25032 PyObject
* obj0
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "format", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25042 if (arg1
== NULL
) {
25043 PyErr_SetString(PyExc_TypeError
,"null reference");
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25061 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25064 PyObject
*arg2
= (PyObject
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char *kwnames
[] = {
25068 (char *) "self",(char *) "data", NULL
25071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 wxCustomDataObject_TakeData(arg1
,arg2
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25092 PyObject
*arg2
= (PyObject
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "self",(char *) "data", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25118 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (size_t)(arg1
)->GetSize();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25144 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25146 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25148 PyObject
* obj0
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= result
;
25170 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25173 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25175 return Py_BuildValue((char *)"");
25177 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxURLDataObject
*result
;
25180 char *kwnames
[] = {
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (wxURLDataObject
*)new wxURLDataObject();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25199 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (arg1
)->GetURL();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25231 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25234 wxString
*arg2
= 0 ;
25235 bool temp2
= False
;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "url", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 arg2
= wxString_in_helper(obj1
);
25247 if (arg2
== NULL
) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->SetURL((wxString
const &)*arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25275 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25277 return Py_BuildValue((char *)"");
25279 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxMetafileDataObject
*result
;
25282 char *kwnames
[] = {
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25301 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25304 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25306 return Py_BuildValue((char *)"");
25308 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25312 PyObject
* obj0
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "res", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25318 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25334 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25337 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25338 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25339 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25340 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25341 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25342 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25343 wxPyDropSource
*result
;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 PyObject
* obj2
= 0 ;
25347 PyObject
* obj3
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25359 if (arg2
== NULL
) {
25360 PyErr_SetString(PyExc_TypeError
,"null reference");
25365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25368 if (arg3
== NULL
) {
25369 PyErr_SetString(PyExc_TypeError
,"null reference");
25374 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25377 if (arg4
== NULL
) {
25378 PyErr_SetString(PyExc_TypeError
,"null reference");
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25396 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25399 PyObject
*arg2
= (PyObject
*) 0 ;
25400 PyObject
*arg3
= (PyObject
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 PyObject
* obj2
= 0 ;
25405 PyObject
* obj3
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 arg4
= (int) SWIG_AsInt(obj3
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 Py_INCREF(Py_None
); resultobj
= Py_None
;
25431 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25459 wxDataObject
*arg2
= 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "data", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25472 if (arg2
== NULL
) {
25473 PyErr_SetString(PyExc_TypeError
,"null reference");
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 (arg1
)->SetData(*arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 Py_INCREF(Py_None
); resultobj
= Py_None
;
25490 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25493 wxDataObject
*result
;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25516 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25520 wxCursor
*arg3
= 0 ;
25521 PyObject
* obj0
= 0 ;
25522 PyObject
* obj1
= 0 ;
25523 PyObject
* obj2
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self",(char *) "res",(char *) "cursor", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25531 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25533 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25536 if (arg3
== NULL
) {
25537 PyErr_SetString(PyExc_TypeError
,"null reference");
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25557 int arg2
= (int) wxDrag_CopyOnly
;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "flags", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25569 arg2
= (int) SWIG_AsInt(obj1
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (int)(arg1
)->DoDragDrop(arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_FromInt((int)result
);
25586 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "effect", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25600 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25616 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25619 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25621 return Py_BuildValue((char *)"");
25623 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25626 wxPyDropTarget
*result
;
25627 PyObject
* obj0
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "dataObject", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25635 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25651 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
;
25653 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25654 PyObject
*arg2
= (PyObject
*) 0 ;
25655 PyObject
*arg3
= (PyObject
*) 0 ;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 PyObject
* obj2
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "self",(char *) "_class", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 Py_INCREF(Py_None
); resultobj
= Py_None
;
25682 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25685 PyObject
* obj0
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25707 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25710 wxDataObject
*result
;
25711 PyObject
* obj0
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25733 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25736 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self",(char *) "dataObject", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25747 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 (arg1
)->SetDataObject(arg2
);
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 Py_INCREF(Py_None
); resultobj
= Py_None
;
25762 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
;
25764 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 PyObject
* obj2
= 0 ;
25772 PyObject
* obj3
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 arg2
= (int) SWIG_AsInt(obj1
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25782 arg3
= (int) SWIG_AsInt(obj2
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25784 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_FromInt((int)result
);
25800 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25810 PyObject
* obj3
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25818 arg2
= (int) SWIG_AsInt(obj1
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25820 arg3
= (int) SWIG_AsInt(obj2
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25822 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_FromInt((int)result
);
25838 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 (arg1
)->base_OnLeave();
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 Py_INCREF(Py_None
); resultobj
= Py_None
;
25863 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
;
25865 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 PyObject
* obj2
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "x",(char *) "y", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 arg2
= (int) SWIG_AsInt(obj1
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25881 arg3
= (int) SWIG_AsInt(obj2
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25897 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25901 PyObject
* obj0
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (bool)(arg1
)->GetData();
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25923 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
25925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25926 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
25928 return Py_BuildValue((char *)"");
25930 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxPyTextDropTarget
*result
;
25933 char *kwnames
[] = {
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
25952 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25955 PyObject
*arg2
= (PyObject
*) 0 ;
25956 PyObject
*arg3
= (PyObject
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 PyObject
* obj2
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self",(char *) "self",(char *) "_class", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 Py_INCREF(Py_None
); resultobj
= Py_None
;
25983 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 PyObject
* obj2
= 0 ;
25993 PyObject
* obj3
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26001 arg2
= (int) SWIG_AsInt(obj1
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26003 arg3
= (int) SWIG_AsInt(obj2
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26005 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_FromInt((int)result
);
26021 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 PyObject
* obj2
= 0 ;
26031 PyObject
* obj3
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 arg2
= (int) SWIG_AsInt(obj1
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26041 arg3
= (int) SWIG_AsInt(obj2
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26043 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_FromInt((int)result
);
26059 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26062 PyObject
* obj0
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->base_OnLeave();
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 PyObject
* obj2
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "x",(char *) "y", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26100 arg2
= (int) SWIG_AsInt(obj1
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26102 arg3
= (int) SWIG_AsInt(obj2
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26118 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
;
26120 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 PyObject
* obj2
= 0 ;
26128 PyObject
* obj3
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26136 arg2
= (int) SWIG_AsInt(obj1
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26138 arg3
= (int) SWIG_AsInt(obj2
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26140 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_FromInt((int)result
);
26156 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26159 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26161 return Py_BuildValue((char *)"");
26163 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxPyFileDropTarget
*result
;
26166 char *kwnames
[] = {
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26185 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26188 PyObject
*arg2
= (PyObject
*) 0 ;
26189 PyObject
*arg3
= (PyObject
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "self",(char *) "_class", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 PyObject
* obj2
= 0 ;
26226 PyObject
* obj3
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 arg2
= (int) SWIG_AsInt(obj1
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26236 arg3
= (int) SWIG_AsInt(obj2
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26238 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_FromInt((int)result
);
26254 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
;
26256 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 PyObject
* obj2
= 0 ;
26264 PyObject
* obj3
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26272 arg2
= (int) SWIG_AsInt(obj1
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26274 arg3
= (int) SWIG_AsInt(obj2
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26276 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_FromInt((int)result
);
26292 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 (arg1
)->base_OnLeave();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 PyObject
* obj2
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self",(char *) "x",(char *) "y", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 arg2
= (int) SWIG_AsInt(obj1
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26335 arg3
= (int) SWIG_AsInt(obj2
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26351 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 PyObject
* obj2
= 0 ;
26361 PyObject
* obj3
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 arg2
= (int) SWIG_AsInt(obj1
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26371 arg3
= (int) SWIG_AsInt(obj2
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26373 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_FromInt((int)result
);
26389 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26392 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26394 return Py_BuildValue((char *)"");
26396 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxClipboard
*result
;
26399 char *kwnames
[] = {
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (wxClipboard
*)new wxClipboard();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26418 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (bool)(arg1
)->Open();
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26469 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 Py_INCREF(Py_None
); resultobj
= Py_None
;
26494 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26498 PyObject
* obj0
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26520 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26523 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26525 PyObject
* obj0
= 0 ;
26526 PyObject
* obj1
= 0 ;
26527 char *kwnames
[] = {
26528 (char *) "self",(char *) "data", NULL
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26535 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (bool)(arg1
)->AddData(arg2
);
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26550 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26553 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char *kwnames
[] = {
26558 (char *) "self",(char *) "data", NULL
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26565 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 result
= (bool)(arg1
)->SetData(arg2
);
26570 wxPyEndAllowThreads(__tstate
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26580 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26581 PyObject
*resultobj
;
26582 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26583 wxDataFormat
*arg2
= 0 ;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "self",(char *) "format", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26597 if (arg2
== NULL
) {
26598 PyErr_SetString(PyExc_TypeError
,"null reference");
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26615 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26618 wxDataObject
*arg2
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "data", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26632 if (arg2
== NULL
) {
26633 PyErr_SetString(PyExc_TypeError
,"null reference");
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (bool)(arg1
)->GetData(*arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26650 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 char *kwnames
[] = {
26655 (char *) "self", NULL
26658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 Py_INCREF(Py_None
); resultobj
= Py_None
;
26675 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
;
26677 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (bool)(arg1
)->Flush();
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26701 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26704 bool arg2
= (bool) True
;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self",(char *) "primary", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26715 arg2
= (bool) SWIG_AsBool(obj1
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 (arg1
)->UsePrimarySelection(arg2
);
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 Py_INCREF(Py_None
); resultobj
= Py_None
;
26732 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26735 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26737 return Py_BuildValue((char *)"");
26739 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26740 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26745 static PyObject
*_wrap_TheClipboard_get() {
26748 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
26753 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26756 wxClipboardLocker
*result
;
26757 PyObject
* obj0
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "clipboard", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
26781 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26784 PyObject
* obj0
= 0 ;
26785 char *kwnames
[] = {
26786 (char *) "self", NULL
26789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26832 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26835 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26837 return Py_BuildValue((char *)"");
26839 static PyMethodDef SwigMethods
[] = {
26840 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
26847 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
26854 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
26914 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
26922 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
26938 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
26943 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
26946 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
26949 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
26955 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
26969 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
26975 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
26981 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
26984 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
26997 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
27000 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
27001 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
27004 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
27031 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
27033 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
27035 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
27037 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
27044 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
27050 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
27063 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
27068 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
27071 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
27088 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
27096 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
27142 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
27170 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
27171 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
27173 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
27175 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
27176 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
27178 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
27194 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
27210 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
27224 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
27233 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
27276 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
27279 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
27282 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
27286 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
27378 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
27379 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
27380 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
27381 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
27382 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
27383 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
27384 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
27385 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
27386 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
27387 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
27398 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
27426 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
27443 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
27457 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
27458 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
27459 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
27460 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
27461 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
27462 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
27463 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
27464 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
27465 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
27466 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
27467 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
27468 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
27469 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
27470 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
27471 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
27472 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
27473 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
27474 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27475 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27476 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
27477 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
27478 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
27479 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
27480 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
27481 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27482 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27483 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
27484 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
27485 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
27486 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
27487 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
27488 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27489 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27490 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
27491 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
27492 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
27493 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
27494 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27495 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
27496 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
27497 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
27498 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27499 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
27500 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27501 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27502 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
27503 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
27504 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
27505 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27506 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
27507 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
27508 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
27509 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
27510 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27511 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
27512 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27513 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27514 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
27515 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27516 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27517 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
27518 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27519 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27520 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27521 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
27522 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27523 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27524 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
27525 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27526 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
27527 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
27528 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
27529 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27530 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
27531 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27532 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27533 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27534 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
27535 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27536 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
27537 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
27538 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
27539 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27540 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
27541 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
27542 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27543 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27544 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
27545 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27546 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27547 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27548 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
27549 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
27550 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
27551 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27552 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27553 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27554 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27555 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
27556 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27557 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27558 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27559 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27560 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27561 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
27562 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27563 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27564 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27565 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27566 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27567 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27568 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27569 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
27570 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
27571 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27572 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
27573 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
27574 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
27575 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
27576 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
27577 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
27578 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27579 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
27580 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
27581 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
27582 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
27583 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
27584 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27585 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
27586 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27587 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27588 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27589 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
27590 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
27591 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27592 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
27593 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
27594 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
27599 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27601 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27604 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27605 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27607 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27608 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27610 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27611 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27613 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27614 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27616 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27617 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27619 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
27620 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
27622 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27623 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27625 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27628 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27629 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27631 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27632 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27634 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
27635 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
27637 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27638 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27640 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27643 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27644 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27646 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27647 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27649 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27650 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27652 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27653 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27655 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27656 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27658 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27659 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27661 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27662 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27664 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27665 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27667 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27670 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27671 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27673 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27674 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27676 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27677 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27679 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27680 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27682 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27683 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27685 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27686 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27688 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27691 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
27692 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
27694 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27695 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27697 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27698 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27700 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27703 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27704 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27706 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27707 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27709 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27710 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27712 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27713 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27715 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
27716 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
27718 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
27719 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
27721 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
27722 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27724 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
27725 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27727 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
27728 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
27730 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
27731 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27733 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
27734 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
27736 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
27737 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27739 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
27740 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27742 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
27743 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27745 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
27746 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27748 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
27749 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27751 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
27752 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27754 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
27755 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27757 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
27758 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27760 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
27761 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
27763 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
27764 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
27766 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27767 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
27769 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
27770 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
27772 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27773 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
27775 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
27776 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
27778 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27779 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
27781 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
27782 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
27784 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
27785 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
27787 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27788 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27790 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27791 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27793 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27796 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27797 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27799 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
27800 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
27802 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27803 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27805 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27806 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27808 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27809 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27811 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27812 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27814 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
27815 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
27817 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
27818 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
27820 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27821 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27823 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27824 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27826 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27827 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27829 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27832 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27833 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27835 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27836 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27838 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27839 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27841 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27842 return (void *)((wxObject
*) ((wxSizer
*) x
));
27844 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27845 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27847 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
27848 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
27850 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27853 static void *_p_wxEventTo_p_wxObject(void *x
) {
27854 return (void *)((wxObject
*) ((wxEvent
*) x
));
27856 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27857 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27859 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27860 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27862 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27863 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27865 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27866 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27868 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27869 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27871 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27872 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27874 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27875 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27877 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27878 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27880 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27881 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27883 static void *_p_wxControlTo_p_wxObject(void *x
) {
27884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27886 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27887 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27889 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
27890 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
27892 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27893 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27895 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
27896 return (void *)((wxObject
*) ((wxClipboard
*) x
));
27898 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27899 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27901 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27902 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27904 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27907 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27908 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27910 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
27911 return (void *)((wxObject
*) ((wxToolTip
*) x
));
27913 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27914 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27916 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27917 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27919 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27922 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27923 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27925 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27926 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27928 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27929 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27931 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27932 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27934 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27935 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27937 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27938 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27940 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27941 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27943 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27946 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27949 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27952 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27955 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27958 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27959 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27961 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27962 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27964 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27965 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27967 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27970 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27971 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27973 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27976 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27977 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27979 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27980 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27982 static void *_p_wxImageTo_p_wxObject(void *x
) {
27983 return (void *)((wxObject
*) ((wxImage
*) x
));
27985 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27986 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27988 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
27989 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
27991 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
27992 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
27994 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27997 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27998 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28000 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28001 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28003 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28006 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28007 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28009 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28012 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
28013 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
28015 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28016 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28018 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28021 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28022 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28024 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28025 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28027 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28028 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28030 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28031 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28033 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28034 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28036 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
28037 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
28039 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28042 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28043 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28045 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28046 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28048 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28049 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28051 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28054 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
28055 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
28057 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28060 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28063 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28064 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28066 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
28067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
28069 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
28070 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
28072 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
28073 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
28075 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
28076 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
28078 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
28079 return (void *)((wxLog
*) ((wxLogChain
*) x
));
28081 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
28082 return (void *)((wxLog
*) ((wxLogGui
*) x
));
28084 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
28085 return (void *)((wxLog
*) ((wxPyLog
*) x
));
28087 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28088 return (void *)((wxWindow
*) ((wxControl
*) x
));
28090 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28091 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28093 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28094 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28096 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
28097 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
28099 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
28100 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
28102 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28103 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28104 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28105 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28106 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28107 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28108 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28109 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase
, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28110 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28111 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28112 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28113 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28114 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28115 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28116 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28117 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28118 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28119 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28120 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28121 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28122 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28123 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28124 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28125 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28126 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28127 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28128 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28129 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28130 static swig_type_info _swigt__p_wxDataObject
[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28131 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28132 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28133 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28134 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28135 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28136 static swig_type_info _swigt__p_wxSound
[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28137 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28138 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28139 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28140 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28141 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28142 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28143 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28144 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28145 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28146 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28147 static swig_type_info _swigt__p_wxDataObjectSimple
[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28148 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28149 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28150 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28151 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28152 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28153 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28154 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28155 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28156 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28157 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28158 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28159 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28160 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28161 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28162 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28163 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28164 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28165 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28166 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28167 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28168 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28169 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28170 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28171 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28172 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28173 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28174 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28175 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget
, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28176 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28177 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28178 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28179 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28180 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28181 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28182 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28183 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28184 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28185 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
28187 static swig_type_info
*swig_types_initial
[] = {
28188 _swigt__p_wxLogChain
,
28189 _swigt__p_wxMutexGuiLocker
,
28190 _swigt__p_wxFileHistory
,
28192 _swigt__p_wxDateTime__TimeZone
,
28195 _swigt__p_wxConfigBase
,
28196 _swigt__p_wxFileType
,
28197 _swigt__p_wxLogGui
,
28199 _swigt__p_wxDataFormat
,
28200 _swigt__p_wxTimerEvent
,
28204 _swigt__p_wxClipboard
,
28205 _swigt__p_wxStopWatch
,
28207 _swigt__p_wxClipboardLocker
,
28209 _swigt__p_wxLogStderr
,
28210 _swigt__p_wxLogTextCtrl
,
28211 _swigt__p_wxTextCtrl
,
28212 _swigt__p_wxBusyCursor
,
28213 _swigt__p_wxPyTextDataObject
,
28214 _swigt__p_wxBitmapDataObject
,
28215 _swigt__p_wxTextDataObject
,
28216 _swigt__p_wxDataObject
,
28217 _swigt__p_wxPyBitmapDataObject
,
28218 _swigt__p_wxFileDataObject
,
28219 _swigt__p_wxCustomDataObject
,
28220 _swigt__p_wxURLDataObject
,
28221 _swigt__p_wxMetafileDataObject
,
28223 _swigt__p_wxTimerRunner
,
28224 _swigt__p_wxLogWindow
,
28225 _swigt__p_wxTimeSpan
,
28226 _swigt__p_wxArrayString
,
28227 _swigt__p_wxWindowDisabler
,
28228 _swigt__p_wxToolTip
,
28229 _swigt__p_wxDataObjectComposite
,
28230 _swigt__p_wxFileConfig
,
28231 _swigt__p_wxSystemSettings
,
28232 _swigt__p_wxPyDataObjectSimple
,
28233 _swigt__p_wxDataObjectSimple
,
28234 _swigt__p_wxEvtHandler
,
28237 _swigt__p_wxSingleInstanceChecker
,
28238 _swigt__p_wxFileTypeInfo
,
28241 _swigt__p_wxMimeTypesManager
,
28242 _swigt__p_wxPyArtProvider
,
28243 _swigt__p_wxPyTipProvider
,
28244 _swigt__p_wxTipProvider
,
28245 _swigt__p_wxJoystick
,
28246 _swigt__p_wxSystemOptions
,
28248 _swigt__p_wxJoystickEvent
,
28249 _swigt__p_wxCursor
,
28250 _swigt__p_wxObject
,
28251 _swigt__p_wxOutputStream
,
28252 _swigt__p_wxDateTime
,
28253 _swigt__p_wxPyDropSource
,
28254 _swigt__p_wxWindow
,
28255 _swigt__p_wxString
,
28256 _swigt__p_wxPyProcess
,
28257 _swigt__p_wxBitmap
,
28258 _swigt__p_wxConfig
,
28260 _swigt__p_wxBusyInfo
,
28261 _swigt__p_wxPyDropTarget
,
28262 _swigt__p_wxPyTextDropTarget
,
28263 _swigt__p_wxPyFileDropTarget
,
28264 _swigt__p_wxProcessEvent
,
28266 _swigt__p_wxLogNull
,
28267 _swigt__p_wxColour
,
28269 _swigt__p_wxConfigPathChanger
,
28270 _swigt__p_wxPyTimer
,
28271 _swigt__p_wxDateSpan
,
28276 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28278 static swig_const_info swig_const_table
[] = {
28279 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
28280 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
28281 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
28282 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
28283 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
28293 SWIGEXPORT(void) SWIG_init(void) {
28294 static PyObject
*SWIG_globals
= 0;
28295 static int typeinit
= 0;
28298 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28299 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28300 d
= PyModule_GetDict(m
);
28303 for (i
= 0; swig_types_initial
[i
]; i
++) {
28304 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28308 SWIG_InstallConstants(d
,swig_const_table
);
28310 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
28311 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
28312 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
28313 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
28314 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
28315 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
28316 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
28317 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
28318 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
28319 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
28320 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
28321 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
28322 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
28323 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
28324 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
28325 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
28326 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
28327 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
28328 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
28329 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
28330 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
28331 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
28332 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
28333 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
28334 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
28335 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
28336 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
28337 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
28338 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
28339 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
28340 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
28341 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
28342 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
28343 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
28344 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
28345 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
28346 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
28347 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
28348 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
28349 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
28350 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
28351 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
28352 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
28353 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
28354 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
28355 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
28356 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
28357 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
28358 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
28359 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
28360 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
28361 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
28362 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
28363 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
28364 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
28365 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
28366 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
28367 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
28368 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
28369 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
28370 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
28371 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
28372 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
28373 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
28374 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
28375 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
28376 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
28377 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
28378 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
28379 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
28380 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
28381 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
28382 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
28383 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
28384 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
28385 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
28386 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
28387 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
28388 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
28389 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
28390 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
28391 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
28392 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
28393 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
28394 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
28395 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
28396 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
28397 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
28398 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
28399 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
28400 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
28401 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28402 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
28403 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
28404 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
28405 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
28406 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
28407 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
28408 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
28409 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
28410 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
28411 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
28412 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
28413 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
28414 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
28415 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
28416 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
28417 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
28418 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
28419 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
28420 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
28421 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
28422 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
28423 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
28424 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
28425 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
28426 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
28427 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
28428 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
28429 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
28430 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
28431 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
28432 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
28433 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
28434 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
28435 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
28436 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
28437 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
28438 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
28439 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
28440 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
28441 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
28442 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
28443 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
28444 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
28445 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
28446 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
28447 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
28448 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
28449 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
28450 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
28451 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
28452 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
28453 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
28454 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
28455 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
28456 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
28457 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
28458 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
28459 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
28461 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28463 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
28464 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
28465 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
28466 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
28467 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
28468 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
28469 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
28470 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
28471 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
28472 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
28473 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
28474 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
28475 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
28476 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
28477 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
28478 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
28479 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
28480 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
28481 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
28482 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
28483 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
28484 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
28485 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
28486 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
28487 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
28488 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
28489 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
28490 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
28491 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
28492 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
28493 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
28494 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
28495 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
28496 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
28497 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
28498 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
28499 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
28500 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
28501 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
28502 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
28503 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
28504 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
28505 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
28506 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
28507 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
28508 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
28509 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
28510 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
28511 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
28512 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
28513 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
28514 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
28515 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
28516 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
28517 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
28518 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
28519 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
28520 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
28522 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28524 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
28525 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
28526 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
28527 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
28528 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
28529 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
28530 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
28531 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
28532 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
28533 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
28534 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
28535 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
28536 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
28537 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
28538 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
28539 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
28540 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
28541 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
28542 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
28543 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
28544 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
28545 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
28546 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
28547 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
28548 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
28549 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
28550 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
28551 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
28552 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
28553 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
28554 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
28555 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
28556 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
28557 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
28558 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
28559 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
28560 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
28561 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
28562 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
28563 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
28564 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
28565 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
28566 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
28567 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
28568 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
28569 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
28570 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
28571 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
28572 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
28573 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
28574 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
28575 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
28576 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
28577 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
28578 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
28579 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
28580 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
28581 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
28582 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
28583 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
28584 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
28585 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
28586 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
28587 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
28588 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
28589 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
28590 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
28591 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
28592 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
28593 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
28594 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
28595 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
28596 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
28597 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
28598 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
28599 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
28600 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
28601 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
28602 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
28603 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
28604 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
28605 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
28606 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
28607 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
28608 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
28609 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
28610 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
28611 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
28612 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
28613 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
28614 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
28615 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
28616 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
28617 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
28618 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
28619 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
28620 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
28621 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
28622 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
28623 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
28624 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
28625 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
28626 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
28627 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
28628 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
28629 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
28630 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
28631 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
28632 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
28633 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
28634 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
28635 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
28636 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
28637 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
28638 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
28639 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
28640 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
28641 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
28642 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
28643 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
28644 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
28645 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
28646 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
28647 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
28648 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
28649 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
28650 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
28651 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
28652 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
28653 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
28654 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
28655 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
28656 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
28657 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
28658 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
28659 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
28660 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
28661 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
28662 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
28663 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
28664 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
28665 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
28666 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
28667 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
28668 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
28669 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
28670 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
28671 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
28672 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
28673 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
28674 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
28675 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
28676 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
28677 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
28678 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
28679 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
28680 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
28681 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
28682 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
28683 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
28684 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
28685 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
28686 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
28687 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
28688 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
28689 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
28690 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
28691 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
28692 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
28693 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
28694 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
28695 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
28696 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
28697 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
28698 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
28699 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
28700 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
28701 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
28702 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
28703 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
28704 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
28705 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
28706 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
28707 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
28708 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
28709 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
28710 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
28711 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
28712 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
28713 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
28714 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
28715 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
28716 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
28717 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
28718 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
28719 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
28720 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
28721 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
28722 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
28723 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
28725 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28726 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28727 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28728 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28730 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);