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_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _misc_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc_
304 #define SWIG_name "_misc_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 long wxGetFreeMemory()
490 { wxPyRaiseNotImplemented(); return 0; }
493 SWIGSTATICINLINE(unsigned long)
494 SWIG_AsUnsignedLong(PyObject
* obj
)
496 if (PyLong_Check(obj
)) {
497 return PyLong_AsUnsignedLong(obj
);
499 long i
= SWIG_AsLong(obj
);
500 if ( !PyErr_Occurred() && (i
< 0)) {
501 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
508 SWIGSTATICINLINE(int)
509 SWIG_CheckUnsignedLong(PyObject
* obj
)
511 SWIG_AsUnsignedLong(obj
);
512 if (PyErr_Occurred()) {
521 SWIGSTATICINLINE(PyObject
* )
522 SWIG_FromUnsignedLong(unsigned long value
)
524 return (value
> LONG_MAX
) ?
525 PyLong_FromUnsignedLong(value
)
526 : PyInt_FromLong(swig_numeric_cast(long,value
));
530 void wxWakeUpMainThread() {}
533 bool wxThread_IsMain() {
534 #ifdef WXP_WITH_THREAD
535 return wxThread::IsMain();
542 int wxCaret_GetBlinkTime() {
543 return wxCaret::GetBlinkTime();
546 void wxCaret_SetBlinkTime(int milliseconds
) {
547 wxCaret::SetBlinkTime(milliseconds
);
551 #include <wx/snglinst.h>
555 #include <wx/msw/private.h>
556 #include <wx/dynload.h>
561 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
568 // This one only partially works. Appears to be an undocumented
569 // "standard" convention that not all widgets adhear to. For
570 // example, for some widgets backgrounds or non-client areas may
572 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
576 // This one works much better, except for on XP. On Win2k nearly
577 // all widgets and their children are captured correctly[**]. On
578 // XP with Themes activated most native widgets draw only
579 // partially, if at all. Without themes it works just like on
582 // ** For example the radio buttons in a wxRadioBox are not its
583 // children by default, but you can capture it via the panel
584 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
585 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
586 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
587 PRF_ERASEBKGND
| PRF_OWNED
);
591 // This one is only defined in the latest SDK and is only
592 // available on XP. MSDN says it is similar to sending WM_PRINT
593 // so I expect that it will work similar to the above. Since it
594 // is avaialble only on XP, it can't be compiled like this and
595 // will have to be loaded dynamically.
596 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
601 // Use PrintWindow if available, or fallback to WM_PRINT
602 // otherwise. Unfortunately using PrintWindow is even worse than
603 // WM_PRINT. For most native widgets nothing is drawn to the dc
604 // at all, with or without Themes.
605 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
606 static bool s_triedToLoad
= False
;
607 static PrintWindow_t pfnPrintWindow
= NULL
;
608 if ( !s_triedToLoad
)
611 s_triedToLoad
= True
;
612 wxDynamicLibrary
dllUser32(_T("user32.dll"));
613 if ( dllUser32
.IsLoaded() )
615 wxLogNull nolog
; // Don't report errors here
616 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
621 printf("Using PrintWindow\n");
622 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
626 printf("Using WM_PRINT\n");
627 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
628 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
636 #include <wx/tipdlg.h>
639 class wxPyTipProvider
: public wxTipProvider
{
641 wxPyTipProvider(size_t currentTip
)
642 : wxTipProvider(currentTip
) {}
644 DEC_PYCALLBACK_STRING__pure(GetTip
);
645 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
649 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
650 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
653 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
655 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
657 void wxPyTimer::Notify() {
659 bool blocked
= wxPyBeginBlockThreads();
660 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
661 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
662 wxPyEndBlockThreads(blocked
);
666 void wxPyTimer::base_Notify() {
672 SWIGSTATICINLINE(PyObject
*)
673 SWIG_FromCharPtr(const char* cptr
)
675 size_t size
= cptr
? strlen(cptr
) : 0;
677 if (size
> INT_MAX
) {
678 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
679 SWIG_TypeQuery("char *"), 0);
681 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
690 SWIGSTATICINLINE(unsigned long)
691 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
692 unsigned long max_value
)
694 if (!PyErr_Occurred()) {
695 if (value
> max_value
) {
697 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
698 value
, type
, max_value
);
699 PyErr_SetObject(PyExc_OverflowError
, err
);
707 #if UINT_MAX != ULONG_MAX
708 SWIGSTATICINLINE(unsigned int)
709 SWIG_AsUnsignedInt(PyObject
*obj
)
711 return swig_numeric_cast(unsigned int,
712 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
713 "unsigned int", UINT_MAX
));
716 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
720 SWIGSTATICINLINE(int)
721 SWIG_CheckUnsignedInt(PyObject
* obj
)
723 SWIG_AsUnsignedInt(obj
);
724 if (PyErr_Occurred()) {
732 wxString
Log_TimeStamp(){
734 wxLog::TimeStamp(&msg
);
737 void wxLog_Destroy(wxLog
*self
){ delete self
; }
739 // A wxLog class that can be derived from in wxPython
740 class wxPyLog
: public wxLog
{
742 wxPyLog() : wxLog() {}
744 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
746 bool blocked
= wxPyBeginBlockThreads();
747 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
748 PyObject
* s
= wx2PyString(szString
);
749 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
752 wxPyEndBlockThreads(blocked
);
754 wxLog::DoLog(level
, szString
, t
);
757 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
759 bool blocked
= wxPyBeginBlockThreads();
760 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
761 PyObject
* s
= wx2PyString(szString
);
762 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
765 wxPyEndBlockThreads(blocked
);
767 wxLog::DoLogString(szString
, t
);
776 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
779 #include <wx/joystick.h>
782 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
783 // A C++ stub class for wxJoystick for platforms that don't have it.
784 class wxJoystick
: public wxObject
{
786 wxJoystick(int joystick
= wxJOYSTICK1
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 PyErr_SetString(PyExc_NotImplementedError
,
789 "wxJoystick is not available on this platform.");
790 wxPyEndBlockThreads(blocked
);
792 wxPoint
GetPosition() { return wxPoint(-1,-1); }
793 int GetZPosition() { return -1; }
794 int GetButtonState() { return -1; }
795 int GetPOVPosition() { return -1; }
796 int GetPOVCTSPosition() { return -1; }
797 int GetRudderPosition() { return -1; }
798 int GetUPosition() { return -1; }
799 int GetVPosition() { return -1; }
800 int GetMovementThreshold() { return -1; }
801 void SetMovementThreshold(int threshold
) {}
803 bool IsOk(void) { return False
; }
804 int GetNumberJoysticks() { return -1; }
805 int GetManufacturerId() { return -1; }
806 int GetProductId() { return -1; }
807 wxString
GetProductName() { return wxEmptyString
; }
808 int GetXMin() { return -1; }
809 int GetYMin() { return -1; }
810 int GetZMin() { return -1; }
811 int GetXMax() { return -1; }
812 int GetYMax() { return -1; }
813 int GetZMax() { return -1; }
814 int GetNumberButtons() { return -1; }
815 int GetNumberAxes() { return -1; }
816 int GetMaxButtons() { return -1; }
817 int GetMaxAxes() { return -1; }
818 int GetPollingMin() { return -1; }
819 int GetPollingMax() { return -1; }
820 int GetRudderMin() { return -1; }
821 int GetRudderMax() { return -1; }
822 int GetUMin() { return -1; }
823 int GetUMax() { return -1; }
824 int GetVMin() { return -1; }
825 int GetVMax() { return -1; }
827 bool HasRudder() { return False
; }
828 bool HasZ() { return False
; }
829 bool HasU() { return False
; }
830 bool HasV() { return False
; }
831 bool HasPOV() { return False
; }
832 bool HasPOV4Dir() { return False
; }
833 bool HasPOVCTS() { return False
; }
835 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
836 bool ReleaseCapture() { return False
; }
841 #include <wx/sound.h>
845 // A C++ stub class for wxWave for platforms that don't have it.
846 class wxSound
: public wxObject
850 bool blocked
= wxPyBeginBlockThreads();
851 PyErr_SetString(PyExc_NotImplementedError
,
852 "wxSound is not available on this platform.");
853 wxPyEndBlockThreads(blocked
);
855 wxSound(const wxString
&/*, bool*/) {
856 bool blocked
= wxPyBeginBlockThreads();
857 PyErr_SetString(PyExc_NotImplementedError
,
858 "wxSound is not available on this platform.");
859 wxPyEndBlockThreads(blocked
);
861 wxSound(int, const wxByte
*) {
862 bool blocked
= wxPyBeginBlockThreads();
863 PyErr_SetString(PyExc_NotImplementedError
,
864 "wxSound is not available on this platform.");
865 wxPyEndBlockThreads(blocked
);
870 bool Create(const wxString
&/*, bool*/) { return false; }
871 bool Create(int, const wxByte
*) { return false; };
872 bool IsOk() { return false; };
873 bool Play(unsigned) const { return false; }
874 static bool Play(const wxString
&, unsigned) { return false; }
875 static void Stop() {}
880 wxSound
*new_wxSound(wxString
const &fileName
){
881 if (fileName
.Length() == 0)
884 return new wxSound(fileName
);
886 wxSound
*new_wxSound(PyObject
*data
){
887 unsigned char* buffer
; int size
;
888 wxSound
*sound
= NULL
;
890 bool blocked
= wxPyBeginBlockThreads();
891 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
893 sound
= new wxSound(size
, buffer
);
895 wxPyEndBlockThreads(blocked
);
898 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
900 unsigned char* buffer
;
904 bool blocked
= wxPyBeginBlockThreads();
905 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
907 rv
= self
->Create(size
, buffer
);
909 wxPyEndBlockThreads(blocked
);
912 bool blocked
= wxPyBeginBlockThreads();
913 PyErr_SetString(PyExc_NotImplementedError
,
914 "Create from data is not available on this platform.");
915 wxPyEndBlockThreads(blocked
);
920 #include <wx/mimetype.h>
922 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
924 if (self
->GetMimeType(&str
))
925 return wx2PyString(str
);
929 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
931 if (self
->GetMimeTypes(arr
))
932 return wxArrayString2PyList_helper(arr
);
936 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
938 if (self
->GetExtensions(arr
))
939 return wxArrayString2PyList_helper(arr
);
943 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
945 if (self
->GetIcon(&loc
))
946 return new wxIcon(loc
);
950 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
952 if (self
->GetIcon(&loc
)) {
953 wxString iconFile
= loc
.GetFileName();
958 // Make a tuple and put the values in it
959 bool blocked
= wxPyBeginBlockThreads();
960 PyObject
* tuple
= PyTuple_New(3);
961 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
962 wxT("wxIcon"), True
));
963 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
964 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
965 wxPyEndBlockThreads(blocked
);
971 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
973 if (self
->GetDescription(&str
))
974 return wx2PyString(str
);
978 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
980 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
981 return wx2PyString(str
);
985 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
987 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
988 return wx2PyString(str
);
992 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
994 wxArrayString commands
;
995 if (self
->GetAllCommands(&verbs
, &commands
,
996 wxFileType::MessageParameters(filename
, mimetype
))) {
997 bool blocked
= wxPyBeginBlockThreads();
998 PyObject
* tuple
= PyTuple_New(2);
999 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1000 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1001 wxPyEndBlockThreads(blocked
);
1007 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1008 return wxFileType::ExpandCommand(command
,
1009 wxFileType::MessageParameters(filename
, mimetype
));
1011 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1013 self
->EnumAllFileTypes(arr
);
1014 return wxArrayString2PyList_helper(arr
);
1017 #include <wx/artprov.h>
1019 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1020 static const wxString
wxPyART_MENU(wxART_MENU
);
1021 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1022 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1023 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1024 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1025 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1026 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1027 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1028 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1029 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1030 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1031 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1032 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1033 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1034 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1035 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1036 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1037 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1038 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1039 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1040 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1041 static const wxString
wxPyART_HELP(wxART_HELP
);
1042 static const wxString
wxPyART_TIP(wxART_TIP
);
1043 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1044 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1045 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1046 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1047 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1048 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1049 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1050 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1051 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1052 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1053 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1054 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1055 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1056 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1057 // Python aware wxArtProvider
1058 class wxPyArtProvider
: public wxArtProvider
{
1061 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1062 const wxArtClient
& client
,
1063 const wxSize
& size
) {
1064 wxBitmap rval
= wxNullBitmap
;
1065 bool blocked
= wxPyBeginBlockThreads();
1066 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1067 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1071 s1
= wx2PyString(id
);
1072 s2
= wx2PyString(client
);
1073 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1078 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1083 wxPyEndBlockThreads(blocked
);
1090 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1094 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1095 PyObject
* ret
= PyTuple_New(3);
1097 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1098 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1099 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1104 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1109 cont
= self
->GetFirstGroup(value
, index
);
1110 return __EnumerationHelper(cont
, value
, index
);
1112 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1116 cont
= self
->GetNextGroup(value
, index
);
1117 return __EnumerationHelper(cont
, value
, index
);
1119 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1124 cont
= self
->GetFirstEntry(value
, index
);
1125 return __EnumerationHelper(cont
, value
, index
);
1127 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1131 cont
= self
->GetNextEntry(value
, index
);
1132 return __EnumerationHelper(cont
, value
, index
);
1134 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1136 self
->Read(key
, &rv
, defaultVal
);
1140 SWIGSTATICINLINE(double)
1141 SWIG_AsDouble(PyObject
*obj
)
1143 if (PyNumber_Check(obj
))
1144 return PyFloat_AsDouble(obj
);
1146 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1147 obj
->ob_type
->tp_name
);
1148 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1155 SWIGSTATICINLINE(int)
1156 SWIG_CheckDouble(PyObject
* obj
)
1159 if (PyErr_Occurred()) {
1167 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1169 self
->Read(key
, &rv
, defaultVal
);
1172 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1174 self
->Read(key
, &rv
, defaultVal
);
1178 #include <wx/datetime.h>
1181 static const wxString
wxPyDateFormatStr(wxT("%c"));
1182 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1184 #define LOCAL_TZ wxDateTime::Local
1187 #if UINT_MAX < LONG_MAX
1188 #define SWIG_FromUnsignedInt SWIG_FromLong
1190 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1193 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1194 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1195 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1196 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1197 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1198 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1199 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1200 return (*self
< *other
);
1202 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1203 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1204 return (*self
<= *other
);
1206 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1207 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1208 return (*self
> *other
);
1210 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1211 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1212 return (*self
>= *other
);
1214 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1215 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1216 return (*self
== *other
);
1218 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1219 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1220 return (*self
!= *other
);
1222 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1224 const wxChar
* _date
= date
;
1225 rv
= self
->ParseRfc822Date(_date
);
1226 if (rv
== NULL
) return -1;
1229 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1231 const wxChar
* _date
= date
;
1232 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1233 if (rv
== NULL
) return -1;
1236 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1238 const wxChar
* _datetime
= datetime
;
1239 rv
= self
->ParseDateTime(_datetime
);
1240 if (rv
== NULL
) return -1;
1241 return rv
- _datetime
;
1243 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1245 const wxChar
* _date
= date
;
1246 rv
= self
->ParseDate(_date
);
1247 if (rv
== NULL
) return -1;
1250 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1252 const wxChar
* _time
= time
;
1253 rv
= self
->ParseTime(_time
);
1254 if (rv
== NULL
) return -1;
1257 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1258 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1259 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1260 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1261 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1262 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1263 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1264 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1265 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1266 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1267 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1268 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1269 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1270 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1271 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1272 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1274 #include <wx/dataobj.h>
1276 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1277 size_t count
= self
->GetFormatCount(dir
);
1278 wxDataFormat
* formats
= new wxDataFormat
[count
];
1279 self
->GetAllFormats(formats
, dir
);
1281 bool blocked
= wxPyBeginBlockThreads();
1282 PyObject
* list
= PyList_New(count
);
1283 for (size_t i
=0; i
<count
; i
++) {
1284 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1285 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1286 PyList_Append(list
, obj
);
1289 wxPyEndBlockThreads(blocked
);
1293 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1294 PyObject
* rval
= NULL
;
1295 size_t size
= self
->GetDataSize(format
);
1296 bool blocked
= wxPyBeginBlockThreads();
1298 char* buf
= new char[size
];
1299 if (self
->GetDataHere(format
, buf
))
1300 rval
= PyString_FromStringAndSize(buf
, size
);
1307 wxPyEndBlockThreads(blocked
);
1310 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1312 bool blocked
= wxPyBeginBlockThreads();
1313 if (PyString_Check(data
)) {
1314 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1317 // raise a TypeError if not a string
1318 PyErr_SetString(PyExc_TypeError
, "String expected.");
1321 wxPyEndBlockThreads(blocked
);
1324 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1325 PyObject
* rval
= NULL
;
1326 size_t size
= self
->GetDataSize();
1327 bool blocked
= wxPyBeginBlockThreads();
1329 char* buf
= new char[size
];
1330 if (self
->GetDataHere(buf
))
1331 rval
= PyString_FromStringAndSize(buf
, size
);
1338 wxPyEndBlockThreads(blocked
);
1341 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1343 bool blocked
= wxPyBeginBlockThreads();
1344 if (PyString_Check(data
)) {
1345 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1348 // raise a TypeError if not a string
1349 PyErr_SetString(PyExc_TypeError
, "String expected.");
1352 wxPyEndBlockThreads(blocked
);
1355 // Create a new class for wxPython to use
1356 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1358 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1359 : wxDataObjectSimple(format
) {}
1361 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1362 bool GetDataHere(void *buf
) const;
1363 bool SetData(size_t len
, const void *buf
) const;
1367 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1369 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1370 // We need to get the data for this object and write it to buf. I think
1371 // the best way to do this for wxPython is to have the Python method
1372 // return either a string or None and then act appropriately with the
1376 bool blocked
= wxPyBeginBlockThreads();
1377 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1379 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1381 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1383 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1387 wxPyEndBlockThreads(blocked
);
1391 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1392 // For this one we simply need to make a string from buf and len
1393 // and send it to the Python method.
1395 bool blocked
= wxPyBeginBlockThreads();
1396 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1397 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1398 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1401 wxPyEndBlockThreads(blocked
);
1405 // Create a new class for wxPython to use
1406 class wxPyTextDataObject
: public wxTextDataObject
{
1408 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1409 : wxTextDataObject(text
) {}
1411 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1412 DEC_PYCALLBACK_STRING__const(GetText
);
1413 DEC_PYCALLBACK__STRING(SetText
);
1417 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1418 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1419 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1422 // Create a new class for wxPython to use
1423 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1425 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1426 : wxBitmapDataObject(bitmap
) {}
1428 wxBitmap
GetBitmap() const;
1429 void SetBitmap(const wxBitmap
& bitmap
);
1433 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1434 wxBitmap
* rval
= &wxNullBitmap
;
1435 bool blocked
= wxPyBeginBlockThreads();
1436 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1439 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1441 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1446 wxPyEndBlockThreads(blocked
);
1450 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1451 bool blocked
= wxPyBeginBlockThreads();
1452 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1453 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1454 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1457 wxPyEndBlockThreads(blocked
);
1460 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1462 bool blocked
= wxPyBeginBlockThreads();
1463 if (PyString_Check(data
)) {
1464 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1467 // raise a TypeError if not a string
1468 PyErr_SetString(PyExc_TypeError
, "String expected.");
1471 wxPyEndBlockThreads(blocked
);
1474 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1476 bool blocked
= wxPyBeginBlockThreads();
1477 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1478 wxPyEndBlockThreads(blocked
);
1481 class wxMetafileDataObject
: public wxDataObjectSimple
1484 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1488 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1491 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1492 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1493 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1494 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1495 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1498 class wxPyTextDropTarget
: public wxTextDropTarget
{
1500 wxPyTextDropTarget() {}
1502 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1504 DEC_PYCALLBACK__(OnLeave
);
1505 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1506 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1507 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1508 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1513 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1514 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1515 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1516 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1517 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1518 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1522 class wxPyFileDropTarget
: public wxFileDropTarget
{
1524 wxPyFileDropTarget() {}
1526 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1528 DEC_PYCALLBACK__(OnLeave
);
1529 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1530 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1531 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1532 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1537 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1538 const wxArrayString
& filenames
) {
1540 bool blocked
= wxPyBeginBlockThreads();
1541 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1542 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1543 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1546 wxPyEndBlockThreads(blocked
);
1552 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1553 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1554 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1555 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1556 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1561 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1563 #include "wx/display.h"
1565 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1566 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1567 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1568 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1569 PyObject
* pyList
= NULL
;
1570 wxArrayVideoModes arr
= self
->GetModes(mode
);
1571 bool blocked
= wxPyBeginBlockThreads();
1572 pyList
= PyList_New(0);
1573 for (int i
=0; i
< arr
.GetCount(); i
++) {
1574 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1575 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1576 PyList_Append(pyList
, pyObj
);
1579 wxPyEndBlockThreads(blocked
);
1585 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1589 PyObject
* obj0
= 0 ;
1591 (char *) "index", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1595 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1605 wxColour
* resultptr
;
1606 resultptr
= new wxColour((wxColour
&) result
);
1607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1615 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1619 PyObject
* obj0
= 0 ;
1621 (char *) "index", NULL
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1625 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1636 resultptr
= new wxFont((wxFont
&) result
);
1637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1645 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1649 PyObject
* obj0
= 0 ;
1651 (char *) "index", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1655 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 resultobj
= SWIG_FromInt((int)result
);
1671 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1675 PyObject
* obj0
= 0 ;
1677 (char *) "index", NULL
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1681 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1699 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (int)wxSystemSettings::GetScreenType();
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= SWIG_FromInt((int)result
);
1721 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
*resultobj
;
1724 PyObject
* obj0
= 0 ;
1726 (char *) "screen", NULL
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1730 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 Py_INCREF(Py_None
); resultobj
= Py_None
;
1746 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1749 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1751 return Py_BuildValue((char *)"");
1753 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxSystemOptions
*result
;
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 result
= (wxSystemOptions
*)new wxSystemOptions();
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1775 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxString
*arg1
= 0 ;
1778 wxString
*arg2
= 0 ;
1779 bool temp1
= False
;
1780 bool temp2
= False
;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1784 (char *) "name",(char *) "value", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1789 arg1
= wxString_in_helper(obj0
);
1790 if (arg1
== NULL
) SWIG_fail
;
1794 arg2
= wxString_in_helper(obj1
);
1795 if (arg2
== NULL
) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxString
*arg1
= 0 ;
1832 bool temp1
= False
;
1833 PyObject
* obj0
= 0 ;
1834 PyObject
* obj1
= 0 ;
1836 (char *) "name",(char *) "value", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1841 arg1
= wxString_in_helper(obj0
);
1842 if (arg1
== NULL
) SWIG_fail
;
1845 arg2
= (int) SWIG_AsInt(obj1
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 Py_INCREF(Py_None
); resultobj
= Py_None
;
1869 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
*resultobj
;
1871 wxString
*arg1
= 0 ;
1873 bool temp1
= False
;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "name", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1881 arg1
= wxString_in_helper(obj0
);
1882 if (arg1
== NULL
) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1913 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxString
*arg1
= 0 ;
1917 bool temp1
= False
;
1918 PyObject
* obj0
= 0 ;
1920 (char *) "name", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1925 arg1
= wxString_in_helper(obj0
);
1926 if (arg1
== NULL
) SWIG_fail
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1936 resultobj
= SWIG_FromInt((int)result
);
1951 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxString
*arg1
= 0 ;
1955 bool temp1
= False
;
1956 PyObject
* obj0
= 0 ;
1958 (char *) "name", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1963 arg1
= wxString_in_helper(obj0
);
1964 if (arg1
== NULL
) SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1991 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1994 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1996 return Py_BuildValue((char *)"");
1998 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1999 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2004 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2009 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2011 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2018 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2019 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2024 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2029 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2031 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2038 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2039 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2044 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2049 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2051 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2058 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
*resultobj
;
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (long)wxNewId();
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 resultobj
= SWIG_FromLong((long)result
);
2080 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2083 PyObject
* obj0
= 0 ;
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2089 arg1
= (long) SWIG_AsLong(obj0
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2098 Py_INCREF(Py_None
); resultobj
= Py_None
;
2105 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 result
= (long)wxGetCurrentId();
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2120 resultobj
= SWIG_FromLong((long)result
);
2127 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 Py_INCREF(Py_None
); resultobj
= Py_None
;
2169 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 bool arg1
= (bool) True
;
2173 PyObject
* obj0
= 0 ;
2175 (char *) "resetTimer", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2180 arg1
= (bool) SWIG_AsBool(obj0
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 result
= (long)wxGetElapsedTime(arg1
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 resultobj
= SWIG_FromLong((long)result
);
2197 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 int *arg1
= (int *) 0 ;
2200 int *arg2
= (int *) 0 ;
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 wxGetMousePosition(arg1
,arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2219 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2220 resultobj
= t_output_helper(resultobj
,o
);
2223 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2224 resultobj
= t_output_helper(resultobj
,o
);
2232 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= (bool)wxIsBusy();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2256 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2284 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2287 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2289 bool temp1
= False
;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "command", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2298 arg1
= wxString_in_helper(obj0
);
2299 if (arg1
== NULL
) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (bool)wxShell((wxString
const &)*arg1
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2348 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 int *arg1
= (int *) 0 ;
2351 int *arg2
= (int *) 0 ;
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (int)wxGetOsVersion(arg1
,arg2
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= SWIG_FromInt((int)result
);
2371 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2372 resultobj
= t_output_helper(resultobj
,o
);
2375 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2376 resultobj
= t_output_helper(resultobj
,o
);
2384 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 result
= wxGetOsDescription();
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2412 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (long)wxGetFreeMemory();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 resultobj
= SWIG_FromLong((long)result
);
2434 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "wFlags", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2444 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2462 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
*resultobj
;
2465 PyObject
* obj0
= 0 ;
2467 (char *) "secs", NULL
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2471 arg1
= (int) SWIG_AsInt(obj0
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 unsigned long arg1
;
2490 PyObject
* obj0
= 0 ;
2492 (char *) "milliseconds", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2496 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 Py_INCREF(Py_None
); resultobj
= Py_None
;
2512 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2515 PyObject
* obj0
= 0 ;
2517 (char *) "enable", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2521 arg1
= (bool) SWIG_AsBool(obj0
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 wxEnableTopLevelWindows(arg1
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2530 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxString
*arg1
= 0 ;
2541 bool temp1
= False
;
2542 PyObject
* obj0
= 0 ;
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2549 arg1
= wxString_in_helper(obj0
);
2550 if (arg1
== NULL
) SWIG_fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2581 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= wxGetEmailAddress();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2609 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= wxGetHostName();
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2637 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= wxGetFullHostName();
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2665 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= wxGetUserId();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2693 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= wxGetUserName();
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2721 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= wxGetHomeDir();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2749 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2752 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2754 bool temp1
= False
;
2755 PyObject
* obj0
= 0 ;
2757 (char *) "user", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2763 arg1
= wxString_in_helper(obj0
);
2764 if (arg1
== NULL
) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= wxGetUserHome((wxString
const &)*arg1
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2796 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 unsigned long result
;
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 result
= (unsigned long)wxGetProcessId();
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2811 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2818 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
;
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2842 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2843 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2844 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2847 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2848 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2849 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2850 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2851 int arg6
= (int) 0 ;
2852 wxWindow
*arg7
= (wxWindow
*) NULL
;
2853 int arg8
= (int) -1 ;
2854 int arg9
= (int) -1 ;
2856 bool temp1
= False
;
2857 bool temp2
= False
;
2858 bool temp3
= False
;
2859 bool temp4
= False
;
2860 bool temp5
= False
;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2863 PyObject
* obj2
= 0 ;
2864 PyObject
* obj3
= 0 ;
2865 PyObject
* obj4
= 0 ;
2866 PyObject
* obj5
= 0 ;
2867 PyObject
* obj6
= 0 ;
2868 PyObject
* obj7
= 0 ;
2869 PyObject
* obj8
= 0 ;
2871 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2877 arg1
= wxString_in_helper(obj0
);
2878 if (arg1
== NULL
) SWIG_fail
;
2884 arg2
= wxString_in_helper(obj1
);
2885 if (arg2
== NULL
) SWIG_fail
;
2891 arg3
= wxString_in_helper(obj2
);
2892 if (arg3
== NULL
) SWIG_fail
;
2898 arg4
= wxString_in_helper(obj3
);
2899 if (arg4
== NULL
) SWIG_fail
;
2905 arg5
= wxString_in_helper(obj4
);
2906 if (arg5
== NULL
) SWIG_fail
;
2911 arg6
= (int) SWIG_AsInt(obj5
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2915 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2919 arg8
= (int) SWIG_AsInt(obj7
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2923 arg9
= (int) SWIG_AsInt(obj8
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2986 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxString
*arg1
= 0 ;
2989 wxString
*arg2
= 0 ;
2990 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2992 wxWindow
*arg4
= (wxWindow
*) NULL
;
2994 bool temp1
= False
;
2995 bool temp2
= False
;
2996 bool temp3
= False
;
2997 PyObject
* obj0
= 0 ;
2998 PyObject
* obj1
= 0 ;
2999 PyObject
* obj2
= 0 ;
3000 PyObject
* obj3
= 0 ;
3002 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3007 arg1
= wxString_in_helper(obj0
);
3008 if (arg1
== NULL
) SWIG_fail
;
3012 arg2
= wxString_in_helper(obj1
);
3013 if (arg2
== NULL
) SWIG_fail
;
3018 arg3
= wxString_in_helper(obj2
);
3019 if (arg3
== NULL
) SWIG_fail
;
3024 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3071 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxString
*arg1
= 0 ;
3074 wxString
*arg2
= 0 ;
3075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3077 wxWindow
*arg4
= (wxWindow
*) NULL
;
3079 bool temp1
= False
;
3080 bool temp2
= False
;
3081 bool temp3
= False
;
3082 PyObject
* obj0
= 0 ;
3083 PyObject
* obj1
= 0 ;
3084 PyObject
* obj2
= 0 ;
3085 PyObject
* obj3
= 0 ;
3087 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3092 arg1
= wxString_in_helper(obj0
);
3093 if (arg1
== NULL
) SWIG_fail
;
3097 arg2
= wxString_in_helper(obj1
);
3098 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3156 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3159 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3160 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3161 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3162 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3165 wxWindow
*arg5
= (wxWindow
*) NULL
;
3167 bool temp1
= False
;
3168 bool temp2
= False
;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3172 PyObject
* obj2
= 0 ;
3173 PyObject
* obj3
= 0 ;
3174 PyObject
* obj4
= 0 ;
3176 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3182 arg1
= wxString_in_helper(obj0
);
3183 if (arg1
== NULL
) SWIG_fail
;
3189 arg2
= wxString_in_helper(obj1
);
3190 if (arg2
== NULL
) SWIG_fail
;
3195 arg3
= (long) SWIG_AsLong(obj2
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3205 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3244 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxString
*arg1
= 0 ;
3247 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3248 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3251 wxWindow
*arg4
= (wxWindow
*) NULL
;
3252 int arg5
= (int) -1 ;
3253 int arg6
= (int) -1 ;
3254 bool arg7
= (bool) True
;
3256 bool temp1
= False
;
3257 bool temp2
= False
;
3258 bool temp3
= False
;
3259 PyObject
* obj0
= 0 ;
3260 PyObject
* obj1
= 0 ;
3261 PyObject
* obj2
= 0 ;
3262 PyObject
* obj3
= 0 ;
3263 PyObject
* obj4
= 0 ;
3264 PyObject
* obj5
= 0 ;
3265 PyObject
* obj6
= 0 ;
3267 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3272 arg1
= wxString_in_helper(obj0
);
3273 if (arg1
== NULL
) SWIG_fail
;
3278 arg2
= wxString_in_helper(obj1
);
3279 if (arg2
== NULL
) SWIG_fail
;
3285 arg3
= wxString_in_helper(obj2
);
3286 if (arg3
== NULL
) SWIG_fail
;
3291 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3295 arg5
= (int) SWIG_AsInt(obj4
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3299 arg6
= (int) SWIG_AsInt(obj5
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3303 arg7
= (bool) SWIG_AsBool(obj6
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3350 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxString
*arg1
= 0 ;
3353 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3354 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3357 wxWindow
*arg4
= (wxWindow
*) NULL
;
3359 bool temp1
= False
;
3360 bool temp2
= False
;
3361 bool temp3
= False
;
3362 PyObject
* obj0
= 0 ;
3363 PyObject
* obj1
= 0 ;
3364 PyObject
* obj2
= 0 ;
3365 PyObject
* obj3
= 0 ;
3367 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3372 arg1
= wxString_in_helper(obj0
);
3373 if (arg1
== NULL
) SWIG_fail
;
3378 arg2
= wxString_in_helper(obj1
);
3379 if (arg2
== NULL
) SWIG_fail
;
3385 arg3
= wxString_in_helper(obj2
);
3386 if (arg3
== NULL
) SWIG_fail
;
3391 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3438 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxString
*arg1
= 0 ;
3441 wxString
*arg2
= 0 ;
3443 wxString
*arg4
= (wxString
*) 0 ;
3444 wxWindow
*arg5
= (wxWindow
*) NULL
;
3445 int arg6
= (int) -1 ;
3446 int arg7
= (int) -1 ;
3447 bool arg8
= (bool) True
;
3448 int arg9
= (int) 150 ;
3449 int arg10
= (int) 200 ;
3451 bool temp1
= False
;
3452 bool temp2
= False
;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3455 PyObject
* obj2
= 0 ;
3456 PyObject
* obj3
= 0 ;
3457 PyObject
* obj4
= 0 ;
3458 PyObject
* obj5
= 0 ;
3459 PyObject
* obj6
= 0 ;
3460 PyObject
* obj7
= 0 ;
3461 PyObject
* obj8
= 0 ;
3463 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3468 arg1
= wxString_in_helper(obj0
);
3469 if (arg1
== NULL
) SWIG_fail
;
3473 arg2
= wxString_in_helper(obj1
);
3474 if (arg2
== NULL
) SWIG_fail
;
3478 arg3
= PyList_Size(obj2
);
3479 arg4
= wxString_LIST_helper(obj2
);
3480 if (arg4
== NULL
) SWIG_fail
;
3483 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 arg6
= (int) SWIG_AsInt(obj4
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 arg7
= (int) SWIG_AsInt(obj5
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3495 arg8
= (bool) SWIG_AsBool(obj6
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 arg9
= (int) SWIG_AsInt(obj7
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3503 arg10
= (int) SWIG_AsInt(obj8
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3529 if (arg4
) delete [] arg4
;
3542 if (arg4
) delete [] arg4
;
3548 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxString
*arg1
= 0 ;
3551 wxString
*arg2
= 0 ;
3553 wxString
*arg4
= (wxString
*) 0 ;
3554 wxWindow
*arg5
= (wxWindow
*) NULL
;
3555 int arg6
= (int) -1 ;
3556 int arg7
= (int) -1 ;
3557 bool arg8
= (bool) True
;
3558 int arg9
= (int) 150 ;
3559 int arg10
= (int) 200 ;
3561 bool temp1
= False
;
3562 bool temp2
= False
;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 PyObject
* obj2
= 0 ;
3566 PyObject
* obj3
= 0 ;
3567 PyObject
* obj4
= 0 ;
3568 PyObject
* obj5
= 0 ;
3569 PyObject
* obj6
= 0 ;
3570 PyObject
* obj7
= 0 ;
3571 PyObject
* obj8
= 0 ;
3573 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3578 arg1
= wxString_in_helper(obj0
);
3579 if (arg1
== NULL
) SWIG_fail
;
3583 arg2
= wxString_in_helper(obj1
);
3584 if (arg2
== NULL
) SWIG_fail
;
3588 arg3
= PyList_Size(obj2
);
3589 arg4
= wxString_LIST_helper(obj2
);
3590 if (arg4
== NULL
) SWIG_fail
;
3593 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 arg6
= (int) SWIG_AsInt(obj4
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 arg7
= (int) SWIG_AsInt(obj5
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 arg8
= (bool) SWIG_AsBool(obj6
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 arg9
= (int) SWIG_AsInt(obj7
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3613 arg10
= (int) SWIG_AsInt(obj8
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_FromInt((int)result
);
3633 if (arg4
) delete [] arg4
;
3646 if (arg4
) delete [] arg4
;
3652 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxString
*arg1
= 0 ;
3655 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3657 int arg3
= (int) wxOK
|wxCENTRE
;
3658 wxWindow
*arg4
= (wxWindow
*) NULL
;
3659 int arg5
= (int) -1 ;
3660 int arg6
= (int) -1 ;
3662 bool temp1
= False
;
3663 bool temp2
= False
;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3666 PyObject
* obj2
= 0 ;
3667 PyObject
* obj3
= 0 ;
3668 PyObject
* obj4
= 0 ;
3669 PyObject
* obj5
= 0 ;
3671 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3676 arg1
= wxString_in_helper(obj0
);
3677 if (arg1
== NULL
) SWIG_fail
;
3682 arg2
= wxString_in_helper(obj1
);
3683 if (arg2
== NULL
) SWIG_fail
;
3688 arg3
= (int) SWIG_AsInt(obj2
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3696 arg5
= (int) SWIG_AsInt(obj4
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3700 arg6
= (int) SWIG_AsInt(obj5
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_FromInt((int)result
);
3733 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxString
*arg1
= 0 ;
3736 wxString
*arg2
= 0 ;
3737 wxString
*arg3
= 0 ;
3739 long arg5
= (long) 0 ;
3740 long arg6
= (long) 100 ;
3741 wxWindow
*arg7
= (wxWindow
*) NULL
;
3742 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3743 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3745 bool temp1
= False
;
3746 bool temp2
= False
;
3747 bool temp3
= False
;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3751 PyObject
* obj2
= 0 ;
3752 PyObject
* obj3
= 0 ;
3753 PyObject
* obj4
= 0 ;
3754 PyObject
* obj5
= 0 ;
3755 PyObject
* obj6
= 0 ;
3756 PyObject
* obj7
= 0 ;
3758 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3763 arg1
= wxString_in_helper(obj0
);
3764 if (arg1
== NULL
) SWIG_fail
;
3768 arg2
= wxString_in_helper(obj1
);
3769 if (arg2
== NULL
) SWIG_fail
;
3773 arg3
= wxString_in_helper(obj2
);
3774 if (arg3
== NULL
) SWIG_fail
;
3777 arg4
= (long) SWIG_AsLong(obj3
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 arg5
= (long) SWIG_AsLong(obj4
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3784 arg6
= (long) SWIG_AsLong(obj5
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3788 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3794 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_FromLong((long)result
);
3835 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (bool)wxColourDisplay();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3859 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (int)wxDisplayDepth();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_FromInt((int)result
);
3881 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (int)wxGetDisplayDepth();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= SWIG_FromInt((int)result
);
3903 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 int *arg1
= (int *) 0 ;
3906 int *arg2
= (int *) 0 ;
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 wxDisplaySize(arg1
,arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3926 resultobj
= t_output_helper(resultobj
,o
);
3929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3930 resultobj
= t_output_helper(resultobj
,o
);
3938 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= wxGetDisplaySize();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3955 resultptr
= new wxSize((wxSize
&) result
);
3956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3964 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 int *arg1
= (int *) 0 ;
3967 int *arg2
= (int *) 0 ;
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 wxDisplaySizeMM(arg1
,arg2
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3987 resultobj
= t_output_helper(resultobj
,o
);
3990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3991 resultobj
= t_output_helper(resultobj
,o
);
3999 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= wxGetDisplaySizeMM();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4016 resultptr
= new wxSize((wxSize
&) result
);
4017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4025 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 int *arg1
= (int *) 0 ;
4028 int *arg2
= (int *) 0 ;
4029 int *arg3
= (int *) 0 ;
4030 int *arg4
= (int *) 0 ;
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4054 resultobj
= t_output_helper(resultobj
,o
);
4057 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4058 resultobj
= t_output_helper(resultobj
,o
);
4061 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4062 resultobj
= t_output_helper(resultobj
,o
);
4065 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4066 resultobj
= t_output_helper(resultobj
,o
);
4074 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= wxGetClientDisplayRect();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4091 resultptr
= new wxRect((wxRect
&) result
);
4092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4100 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxCursor
*arg1
= 0 ;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "cursor", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4113 PyErr_SetString(PyExc_TypeError
,"null reference");
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4130 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4133 PyObject
* obj0
= 0 ;
4135 (char *) "cursor", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 wxBeginBusyCursor(arg1
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 Py_INCREF(Py_None
); resultobj
= Py_None
;
4157 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxWindow
*)wxGetActiveWindow();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= wxPyMake_wxObject(result
);
4181 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4186 PyObject
* obj0
= 0 ;
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4194 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= wxPyMake_wxObject(result
);
4212 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4217 PyObject
* obj0
= 0 ;
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4225 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= wxPyMake_wxObject(result
);
4243 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxWindow
*arg1
= (wxWindow
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4249 (char *) "win", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= wxPyMake_wxObject(result
);
4271 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4275 PyObject
* obj0
= 0 ;
4277 (char *) "key", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4281 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4299 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 wxWakeUpMainThread();
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 Py_INCREF(Py_None
); resultobj
= Py_None
;
4362 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxMutexGuiLocker
*result
;
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4384 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4389 (char *) "self", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 Py_INCREF(Py_None
); resultobj
= Py_None
;
4409 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4412 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4414 return Py_BuildValue((char *)"");
4416 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 result
= (bool)wxThread_IsMain();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4440 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxString
*arg1
= 0 ;
4444 bool temp1
= False
;
4445 PyObject
* obj0
= 0 ;
4447 (char *) "tip", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4452 arg1
= wxString_in_helper(obj0
);
4453 if (arg1
== NULL
) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= wxPyMake_wxObject(result
);
4480 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4483 wxString
*arg2
= 0 ;
4484 bool temp2
= False
;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "self",(char *) "tip", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 arg2
= wxString_in_helper(obj1
);
4496 if (arg2
== NULL
) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 (arg1
)->SetTip((wxString
const &)*arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4521 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (arg1
)->GetTip();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4553 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (wxWindow
*)(arg1
)->GetWindow();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= wxPyMake_wxObject(result
);
4581 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "flag", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4590 arg1
= (bool) SWIG_AsBool(obj0
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 wxToolTip::Enable(arg1
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 Py_INCREF(Py_None
); resultobj
= Py_None
;
4606 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4609 PyObject
* obj0
= 0 ;
4611 (char *) "milliseconds", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4615 arg1
= (long) SWIG_AsLong(obj0
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 wxToolTip::SetDelay(arg1
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 Py_INCREF(Py_None
); resultobj
= Py_None
;
4631 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4634 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4636 return Py_BuildValue((char *)"");
4638 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxWindow
*arg1
= (wxWindow
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "window",(char *) "size", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4655 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4671 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxCaret
*arg1
= (wxCaret
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4676 (char *) "self", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxCaret
*arg1
= (wxCaret
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4702 (char *) "self", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (bool)(arg1
)->IsOk();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4724 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxCaret
*arg1
= (wxCaret
*) 0 ;
4728 PyObject
* obj0
= 0 ;
4730 (char *) "self", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (bool)(arg1
)->IsVisible();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4752 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxCaret
*arg1
= (wxCaret
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (arg1
)->GetPosition();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 wxPoint
* resultptr
;
4773 resultptr
= new wxPoint((wxPoint
&) result
);
4774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4782 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxCaret
*arg1
= (wxCaret
*) 0 ;
4785 int *arg2
= (int *) 0 ;
4786 int *arg3
= (int *) 0 ;
4789 PyObject
* obj0
= 0 ;
4791 (char *) "self", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 (arg1
)->GetPosition(arg2
,arg3
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4809 resultobj
= t_output_helper(resultobj
,o
);
4812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4813 resultobj
= t_output_helper(resultobj
,o
);
4821 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxCaret
*arg1
= (wxCaret
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4827 (char *) "self", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (arg1
)->GetSize();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4842 resultptr
= new wxSize((wxSize
&) result
);
4843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4851 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxCaret
*arg1
= (wxCaret
*) 0 ;
4854 int *arg2
= (int *) 0 ;
4855 int *arg3
= (int *) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 (arg1
)->GetSize(arg2
,arg3
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 Py_INCREF(Py_None
); resultobj
= Py_None
;
4877 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4878 resultobj
= t_output_helper(resultobj
,o
);
4881 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4882 resultobj
= t_output_helper(resultobj
,o
);
4890 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxCaret
*arg1
= (wxCaret
*) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (wxWindow
*)(arg1
)->GetWindow();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= wxPyMake_wxObject(result
);
4918 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxCaret
*arg1
= (wxCaret
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4925 PyObject
* obj2
= 0 ;
4927 (char *) "self",(char *) "x",(char *) "y", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 arg2
= (int) SWIG_AsInt(obj1
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4935 arg3
= (int) SWIG_AsInt(obj2
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->Move(arg2
,arg3
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxCaret
*arg1
= (wxCaret
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4959 (char *) "self",(char *) "pt", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 (arg1
)->Move((wxPoint
const &)*arg2
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4983 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxCaret
*arg1
= (wxCaret
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4990 PyObject
* obj2
= 0 ;
4992 (char *) "self",(char *) "width",(char *) "height", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4998 arg2
= (int) SWIG_AsInt(obj1
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5000 arg3
= (int) SWIG_AsInt(obj2
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->SetSize(arg2
,arg3
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5016 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxCaret
*arg1
= (wxCaret
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5024 (char *) "self",(char *) "size", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 (arg1
)->SetSize((wxSize
const &)*arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxCaret
*arg1
= (wxCaret
*) 0 ;
5051 int arg2
= (int) True
;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5055 (char *) "self",(char *) "show", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int) SWIG_AsInt(obj1
);
5063 if (PyErr_Occurred()) 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
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxCaret
*arg1
= (wxCaret
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5107 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5109 return Py_BuildValue((char *)"");
5111 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (int)wxCaret_GetBlinkTime();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= SWIG_FromInt((int)result
);
5133 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "milliseconds", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5142 arg1
= (int) SWIG_AsInt(obj0
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 wxCaret_SetBlinkTime(arg1
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5161 wxBusyCursor
*result
;
5162 PyObject
* obj0
= 0 ;
5164 (char *) "cursor", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5186 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 Py_INCREF(Py_None
); resultobj
= Py_None
;
5211 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5214 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5216 return Py_BuildValue((char *)"");
5218 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxWindow
*arg1
= (wxWindow
*) NULL
;
5221 wxWindowDisabler
*result
;
5222 PyObject
* obj0
= 0 ;
5224 (char *) "winToSkip", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5246 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5274 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5276 return Py_BuildValue((char *)"");
5278 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxString
*arg1
= 0 ;
5282 bool temp1
= False
;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "message", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5290 arg1
= wxString_in_helper(obj0
);
5291 if (arg1
== NULL
) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5316 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5321 (char *) "self", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5344 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5346 return Py_BuildValue((char *)"");
5348 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxStopWatch
*result
;
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= (wxStopWatch
*)new wxStopWatch();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5370 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5373 long arg2
= (long) 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5377 (char *) "self",(char *) "t0", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 arg2
= (long) SWIG_AsLong(obj1
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->Start(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 Py_INCREF(Py_None
); resultobj
= Py_None
;
5401 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "self", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5426 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5431 (char *) "self", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5457 (char *) "self", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_FromLong((long)result
);
5477 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5480 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5482 return Py_BuildValue((char *)"");
5484 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 int arg1
= (int) 9 ;
5487 wxFileHistory
*result
;
5488 PyObject
* obj0
= 0 ;
5490 (char *) "maxFiles", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5495 arg1
= (int) SWIG_AsInt(obj0
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5512 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5540 wxString
*arg2
= 0 ;
5541 bool temp2
= False
;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "file", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 arg2
= wxString_in_helper(obj1
);
5553 if (arg2
== NULL
) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "i", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 arg2
= (int) SWIG_AsInt(obj1
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->RemoveFileFromHistory(arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5613 (char *) "self", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_FromInt((int)result
);
5633 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5636 wxMenu
*arg2
= (wxMenu
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5640 (char *) "self",(char *) "menu", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->UseMenu(arg2
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5665 wxMenu
*arg2
= (wxMenu
*) 0 ;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5669 (char *) "self",(char *) "menu", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 (arg1
)->RemoveMenu(arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5694 wxConfigBase
*arg2
= 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5698 (char *) "self",(char *) "config", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5708 PyErr_SetString(PyExc_TypeError
,"null reference");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->Load(*arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5728 wxConfigBase
*arg2
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "self",(char *) "config", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5742 PyErr_SetString(PyExc_TypeError
,"null reference");
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->Save(*arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5762 PyObject
* obj0
= 0 ;
5764 (char *) "self", NULL
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 (arg1
)->AddFilesToMenu();
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5787 wxMenu
*arg2
= (wxMenu
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5791 (char *) "self",(char *) "menu", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 (arg1
)->AddFilesToMenu(arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5821 (char *) "self",(char *) "i", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 arg2
= (int) SWIG_AsInt(obj1
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5849 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_FromInt((int)result
);
5875 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5878 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5880 return Py_BuildValue((char *)"");
5882 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxString
*arg1
= 0 ;
5885 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5886 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5887 wxSingleInstanceChecker
*result
;
5888 bool temp1
= False
;
5889 bool temp2
= False
;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5893 (char *) "name",(char *) "path", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5898 arg1
= wxString_in_helper(obj0
);
5899 if (arg1
== NULL
) SWIG_fail
;
5904 arg2
= wxString_in_helper(obj1
);
5905 if (arg2
== NULL
) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5939 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxSingleInstanceChecker
*result
;
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5961 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5989 wxString
*arg2
= 0 ;
5990 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5993 bool temp2
= False
;
5994 bool temp3
= False
;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 PyObject
* obj2
= 0 ;
5999 (char *) "self",(char *) "name",(char *) "path", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 arg2
= wxString_in_helper(obj1
);
6007 if (arg2
== NULL
) SWIG_fail
;
6012 arg3
= wxString_in_helper(obj2
);
6013 if (arg3
== NULL
) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6055 (char *) "self", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6077 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6082 return Py_BuildValue((char *)"");
6084 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxWindow
*arg1
= (wxWindow
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6091 PyObject
* obj2
= 0 ;
6093 (char *) "window",(char *) "dc",(char *) "method", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6103 PyErr_SetString(PyExc_TypeError
,"null reference");
6106 arg3
= (int) SWIG_AsInt(obj2
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 Py_INCREF(Py_None
); resultobj
= Py_None
;
6122 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6127 (char *) "self", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 Py_INCREF(Py_None
); resultobj
= Py_None
;
6147 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6153 (char *) "self", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (arg1
)->GetTip();
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6179 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6183 PyObject
* obj0
= 0 ;
6185 (char *) "self", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (size_t)(arg1
)->GetCurrentTip();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6205 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6208 wxString
*arg2
= 0 ;
6210 bool temp2
= False
;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6214 (char *) "self",(char *) "tip", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 arg2
= wxString_in_helper(obj1
);
6222 if (arg2
== NULL
) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6253 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6256 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6258 return Py_BuildValue((char *)"");
6260 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6263 wxPyTipProvider
*result
;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "currentTip", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6270 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6286 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6289 PyObject
*arg2
= (PyObject
*) 0 ;
6290 PyObject
*arg3
= (PyObject
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 PyObject
* obj2
= 0 ;
6295 (char *) "self",(char *) "self",(char *) "_class", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6320 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6322 return Py_BuildValue((char *)"");
6324 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxWindow
*arg1
= (wxWindow
*) 0 ;
6327 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6328 bool arg3
= (bool) True
;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6334 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 arg3
= (bool) SWIG_AsBool(obj2
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6362 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxString
*arg1
= 0 ;
6366 wxTipProvider
*result
;
6367 bool temp1
= False
;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6371 (char *) "filename",(char *) "currentTip", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 arg1
= wxString_in_helper(obj0
);
6377 if (arg1
== NULL
) SWIG_fail
;
6380 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6404 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6407 int arg2
= (int) -1 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "owner",(char *) "id", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 arg2
= (int) SWIG_AsInt(obj1
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6438 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6466 PyObject
*arg2
= (PyObject
*) 0 ;
6467 PyObject
*arg3
= (PyObject
*) 0 ;
6468 int arg4
= (int) 1 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 PyObject
* obj2
= 0 ;
6472 PyObject
* obj3
= 0 ;
6474 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 arg4
= (int) SWIG_AsInt(obj3
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6503 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6504 int arg3
= (int) -1 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6509 (char *) "self",(char *) "owner",(char *) "id", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 arg3
= (int) SWIG_AsInt(obj2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->SetOwner(arg2
,arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6535 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6538 wxEvtHandler
*result
;
6539 PyObject
* obj0
= 0 ;
6541 (char *) "self", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= wxPyMake_wxObject(result
);
6563 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6566 int arg2
= (int) -1 ;
6567 bool arg3
= (bool) False
;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6573 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6580 arg2
= (int) SWIG_AsInt(obj1
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 arg3
= (bool) SWIG_AsBool(obj2
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6603 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6606 PyObject
* obj0
= 0 ;
6608 (char *) "self", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 Py_INCREF(Py_None
); resultobj
= Py_None
;
6628 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6634 (char *) "self", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6656 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_FromInt((int)result
);
6682 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6710 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6716 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_FromInt((int)result
);
6736 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6741 return Py_BuildValue((char *)"");
6743 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 int arg1
= (int) 0 ;
6746 int arg2
= (int) 0 ;
6747 wxTimerEvent
*result
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 (char *) "timerid",(char *) "interval", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6756 arg1
= (int) SWIG_AsInt(obj0
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 arg2
= (int) SWIG_AsInt(obj1
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6777 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6783 (char *) "self", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= SWIG_FromInt((int)result
);
6803 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6806 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6808 return Py_BuildValue((char *)"");
6810 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6811 PyObject
*resultobj
;
6813 wxTimerRunner
*result
;
6814 PyObject
* obj0
= 0 ;
6816 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6821 PyErr_SetString(PyExc_TypeError
,"null reference");
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6838 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6839 PyObject
*resultobj
;
6842 bool arg3
= (bool) False
;
6843 wxTimerRunner
*result
;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6848 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6853 PyErr_SetString(PyExc_TypeError
,"null reference");
6856 arg2
= (int) SWIG_AsInt(obj1
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 arg3
= (bool) SWIG_AsBool(obj2
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6876 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6881 argc
= PyObject_Length(args
);
6882 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6897 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6900 if ((argc
>= 2) && (argc
<= 3)) {
6904 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6912 _v
= SWIG_CheckInt(argv
[1]);
6915 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6917 _v
= SWIG_CheckBool(argv
[2]);
6919 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6925 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6930 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 (char *) "self", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6959 bool arg3
= (bool) False
;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6970 arg2
= (int) SWIG_AsInt(obj1
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 arg3
= (bool) SWIG_AsBool(obj2
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 (arg1
)->Start(arg2
,arg3
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 Py_INCREF(Py_None
); resultobj
= Py_None
;
6990 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6993 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6995 return Py_BuildValue((char *)"");
6997 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (wxLog
*)new wxLog();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7019 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (bool)wxLog::IsEnabled();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7043 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 bool arg1
= (bool) True
;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "doIt", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7054 arg1
= (bool) SWIG_AsBool(obj0
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (bool)wxLog::EnableLogging(arg1
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7076 wxChar
*arg2
= (wxChar
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7080 PyObject
* obj2
= 0 ;
7082 (char *) "level",(char *) "szString",(char *) "t", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7086 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7106 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxLog
*arg1
= (wxLog
*) 0 ;
7109 PyObject
* obj0
= 0 ;
7111 (char *) "self", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 Py_INCREF(Py_None
); resultobj
= Py_None
;
7131 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 wxLog::FlushActive();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 Py_INCREF(Py_None
); resultobj
= Py_None
;
7152 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (wxLog
*)wxLog::GetActiveTarget();
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7174 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxLog
*arg1
= (wxLog
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "pLogger", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7200 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 Py_INCREF(Py_None
); resultobj
= Py_None
;
7221 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 Py_INCREF(Py_None
); resultobj
= Py_None
;
7242 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 bool arg1
= (bool) True
;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "bVerbose", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7252 arg1
= (bool) SWIG_AsBool(obj0
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 wxLog::SetVerbose(arg1
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "logLevel", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7278 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 wxLog::SetLogLevel(arg1
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 wxLog::DontCreateOnDemand();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "ulMask", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7324 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 wxLog::SetTraceMask(arg1
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxString
*arg1
= 0 ;
7343 bool temp1
= False
;
7344 PyObject
* obj0
= 0 ;
7346 (char *) "str", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7351 arg1
= wxString_in_helper(obj0
);
7352 if (arg1
== NULL
) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 wxLog::AddTraceMask((wxString
const &)*arg1
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxString
*arg1
= 0 ;
7380 bool temp1
= False
;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "str", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7388 arg1
= wxString_in_helper(obj0
);
7389 if (arg1
== NULL
) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 wxLog::ClearTraceMasks();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 Py_INCREF(Py_None
); resultobj
= Py_None
;
7435 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxArrayString
*result
;
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7447 result
= (wxArrayString
*) &_result_ref
;
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= wxArrayString2PyList_helper(*result
);
7462 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxChar
*arg1
= (wxChar
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 wxLog::SetTimestamp((wxChar
const *)arg1
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 Py_INCREF(Py_None
); resultobj
= Py_None
;
7487 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (bool)wxLog::GetVerbose();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7511 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (wxTraceMask
)wxLog::GetTraceMask();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7533 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxChar
*arg1
= (wxChar
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "mask", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7561 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxLogLevel
)wxLog::GetLogLevel();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7583 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (wxChar
*)wxLog::GetTimestamp();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7605 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= Log_TimeStamp();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7633 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxLog
*arg1
= (wxLog
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 wxLog_Destroy(arg1
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 Py_INCREF(Py_None
); resultobj
= Py_None
;
7658 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7661 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7663 return Py_BuildValue((char *)"");
7665 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxLogStderr
*result
;
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (wxLogStderr
*)new wxLogStderr();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7687 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7690 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7692 return Py_BuildValue((char *)"");
7694 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7697 wxLogTextCtrl
*result
;
7698 PyObject
* obj0
= 0 ;
7700 (char *) "pTextCtrl", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7720 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7723 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7725 return Py_BuildValue((char *)"");
7727 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= (wxLogGui
*)new wxLogGui();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7749 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7754 return Py_BuildValue((char *)"");
7756 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxFrame
*arg1
= (wxFrame
*) 0 ;
7759 wxString
*arg2
= 0 ;
7760 bool arg3
= (bool) True
;
7761 bool arg4
= (bool) True
;
7762 wxLogWindow
*result
;
7763 bool temp2
= False
;
7764 PyObject
* obj0
= 0 ;
7765 PyObject
* obj1
= 0 ;
7766 PyObject
* obj2
= 0 ;
7767 PyObject
* obj3
= 0 ;
7769 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7776 arg2
= wxString_in_helper(obj1
);
7777 if (arg2
== NULL
) SWIG_fail
;
7781 arg3
= (bool) SWIG_AsBool(obj2
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 arg4
= (bool) SWIG_AsBool(obj3
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7810 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7813 bool arg2
= (bool) True
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "bShow", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7824 arg2
= (bool) SWIG_AsBool(obj1
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 Py_INCREF(Py_None
); resultobj
= Py_None
;
7841 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= wxPyMake_wxObject(result
);
7869 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7895 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7901 (char *) "self", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "bDoPass", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 arg2
= (bool) SWIG_AsBool(obj1
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->PassMessages(arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7955 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7957 return Py_BuildValue((char *)"");
7959 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxLog
*arg1
= (wxLog
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "logger", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (wxLogChain
*)new wxLogChain(arg1
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7985 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7988 wxLog
*arg2
= (wxLog
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7992 (char *) "self",(char *) "logger", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 (arg1
)->SetLog(arg2
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 Py_INCREF(Py_None
); resultobj
= Py_None
;
8014 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8021 (char *) "self",(char *) "bDoPass", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 arg2
= (bool) SWIG_AsBool(obj1
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 (arg1
)->PassMessages(arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 Py_INCREF(Py_None
); resultobj
= Py_None
;
8043 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (bool)(arg1
)->IsPassingMessages();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8071 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (wxLog
*)(arg1
)->GetOldLog();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8097 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8100 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8102 return Py_BuildValue((char *)"");
8104 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 unsigned long result
;
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 result
= (unsigned long)wxSysErrorCode();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8126 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 unsigned long arg1
= (unsigned long) 0 ;
8130 PyObject
* obj0
= 0 ;
8132 (char *) "nErrCode", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8137 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= wxSysErrorMsg(arg1
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8160 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxString
*arg1
= 0 ;
8163 bool temp1
= False
;
8164 PyObject
* obj0
= 0 ;
8166 (char *) "msg", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8171 arg1
= wxString_in_helper(obj0
);
8172 if (arg1
== NULL
) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 wxLogFatalError((wxString
const &)*arg1
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxString
*arg1
= 0 ;
8200 bool temp1
= False
;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "msg", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8208 arg1
= wxString_in_helper(obj0
);
8209 if (arg1
== NULL
) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 wxLogError((wxString
const &)*arg1
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 Py_INCREF(Py_None
); resultobj
= Py_None
;
8234 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
;
8236 wxString
*arg1
= 0 ;
8237 bool temp1
= False
;
8238 PyObject
* obj0
= 0 ;
8240 (char *) "msg", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8245 arg1
= wxString_in_helper(obj0
);
8246 if (arg1
== NULL
) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 wxLogWarning((wxString
const &)*arg1
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 Py_INCREF(Py_None
); resultobj
= Py_None
;
8271 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxString
*arg1
= 0 ;
8274 bool temp1
= False
;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "msg", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8282 arg1
= wxString_in_helper(obj0
);
8283 if (arg1
== NULL
) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 wxLogMessage((wxString
const &)*arg1
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxString
*arg1
= 0 ;
8311 bool temp1
= False
;
8312 PyObject
* obj0
= 0 ;
8314 (char *) "msg", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8319 arg1
= wxString_in_helper(obj0
);
8320 if (arg1
== NULL
) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 wxLogInfo((wxString
const &)*arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 Py_INCREF(Py_None
); resultobj
= Py_None
;
8345 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxString
*arg1
= 0 ;
8348 bool temp1
= False
;
8349 PyObject
* obj0
= 0 ;
8351 (char *) "msg", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8356 arg1
= wxString_in_helper(obj0
);
8357 if (arg1
== NULL
) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 wxLogDebug((wxString
const &)*arg1
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxString
*arg1
= 0 ;
8385 bool temp1
= False
;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "msg", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8393 arg1
= wxString_in_helper(obj0
);
8394 if (arg1
== NULL
) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 wxLogVerbose((wxString
const &)*arg1
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 Py_INCREF(Py_None
); resultobj
= Py_None
;
8419 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxString
*arg1
= 0 ;
8422 bool temp1
= False
;
8423 PyObject
* obj0
= 0 ;
8425 (char *) "msg", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8430 arg1
= wxString_in_helper(obj0
);
8431 if (arg1
== NULL
) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 wxLogStatus((wxString
const &)*arg1
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 Py_INCREF(Py_None
); resultobj
= Py_None
;
8456 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxFrame
*arg1
= (wxFrame
*) 0 ;
8459 wxString
*arg2
= 0 ;
8460 bool temp2
= False
;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8464 (char *) "pFrame",(char *) "msg", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 arg2
= wxString_in_helper(obj1
);
8472 if (arg2
== NULL
) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8497 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxString
*arg1
= 0 ;
8500 bool temp1
= False
;
8501 PyObject
* obj0
= 0 ;
8503 (char *) "msg", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8508 arg1
= wxString_in_helper(obj0
);
8509 if (arg1
== NULL
) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 wxLogSysError((wxString
const &)*arg1
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8535 PyObject
*resultobj
;
8536 unsigned long arg1
;
8537 wxString
*arg2
= 0 ;
8538 bool temp2
= False
;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8542 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8543 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 arg2
= wxString_in_helper(obj1
);
8547 if (arg2
== NULL
) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8573 PyObject
*resultobj
;
8574 wxString
*arg1
= 0 ;
8575 wxString
*arg2
= 0 ;
8576 bool temp1
= False
;
8577 bool temp2
= False
;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8581 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8583 arg1
= wxString_in_helper(obj0
);
8584 if (arg1
== NULL
) SWIG_fail
;
8588 arg2
= wxString_in_helper(obj1
);
8589 if (arg2
== NULL
) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8627 argc
= PyObject_Length(args
);
8628 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8629 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8634 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8638 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8641 return _wrap_LogTrace__SWIG_1(self
,args
);
8647 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8650 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8653 return _wrap_LogTrace__SWIG_0(self
,args
);
8658 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8663 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 unsigned long arg1
;
8666 wxString
*arg2
= 0 ;
8667 bool temp2
= False
;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8671 (char *) "level",(char *) "msg", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8675 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 arg2
= wxString_in_helper(obj1
);
8679 if (arg2
== NULL
) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxString
*arg1
= 0 ;
8707 wxString
*arg2
= 0 ;
8708 bool temp1
= False
;
8709 bool temp2
= False
;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8713 (char *) "title",(char *) "text", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 arg1
= wxString_in_helper(obj0
);
8719 if (arg1
== NULL
) SWIG_fail
;
8723 arg2
= wxString_in_helper(obj1
);
8724 if (arg2
== NULL
) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (wxLogNull
*)new wxLogNull();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8779 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8807 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8809 return Py_BuildValue((char *)"");
8811 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (wxPyLog
*)new wxPyLog();
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8833 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8836 PyObject
*arg2
= (PyObject
*) 0 ;
8837 PyObject
*arg3
= (PyObject
*) 0 ;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8840 PyObject
* obj2
= 0 ;
8842 (char *) "self",(char *) "self",(char *) "_class", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8867 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8869 return Py_BuildValue((char *)"");
8871 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8874 int arg2
= (int) wxSIGTERM
;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8879 (char *) "pid",(char *) "sig", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8883 arg1
= (int) SWIG_AsInt(obj0
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_FromInt((int)result
);
8903 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "pid", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8913 arg1
= (int) SWIG_AsInt(obj0
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (bool)wxPyProcess::Exists(arg1
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8931 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxString
*arg1
= 0 ;
8934 int arg2
= (int) wxEXEC_ASYNC
;
8935 wxPyProcess
*result
;
8936 bool temp1
= False
;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8940 (char *) "cmd",(char *) "flags", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8945 arg1
= wxString_in_helper(obj0
);
8946 if (arg1
== NULL
) SWIG_fail
;
8950 arg2
= (int) SWIG_AsInt(obj1
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8975 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8978 int arg2
= (int) -1 ;
8979 wxPyProcess
*result
;
8980 PyObject
* obj0
= 0 ;
8981 PyObject
* obj1
= 0 ;
8983 (char *) "parent",(char *) "id", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 arg2
= (int) SWIG_AsInt(obj1
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9009 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9012 PyObject
*arg2
= (PyObject
*) 0 ;
9013 PyObject
*arg3
= (PyObject
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 PyObject
* obj2
= 0 ;
9018 (char *) "self",(char *) "self",(char *) "_class", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9049 (char *) "self",(char *) "pid",(char *) "status", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 arg2
= (int) SWIG_AsInt(obj1
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9057 arg3
= (int) SWIG_AsInt(obj2
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 (arg1
)->base_OnTerminate(arg2
,arg3
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "self", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)(arg1
)->IsRedirected();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9154 wxInputStream
*result
;
9155 PyObject
* obj0
= 0 ;
9157 (char *) "self", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 wxPyInputStream
* _ptr
= NULL
;
9174 _ptr
= new wxPyInputStream(result
);
9176 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9184 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9187 wxInputStream
*result
;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "self", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 wxPyInputStream
* _ptr
= NULL
;
9207 _ptr
= new wxPyInputStream(result
);
9209 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9217 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9220 wxOutputStream
*result
;
9221 PyObject
* obj0
= 0 ;
9223 (char *) "self", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9243 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "self", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 (arg1
)->CloseOutput();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9272 PyObject
* obj0
= 0 ;
9274 (char *) "self", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9296 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9352 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9355 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9357 return Py_BuildValue((char *)"");
9359 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 int arg1
= (int) 0 ;
9362 int arg2
= (int) 0 ;
9363 int arg3
= (int) 0 ;
9364 wxProcessEvent
*result
;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 PyObject
* obj2
= 0 ;
9369 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9374 arg1
= (int) SWIG_AsInt(obj0
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 arg2
= (int) SWIG_AsInt(obj1
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 arg3
= (int) SWIG_AsInt(obj2
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9399 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9405 (char *) "self", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (int)(arg1
)->GetPid();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_FromInt((int)result
);
9425 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (int)(arg1
)->GetExitCode();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_FromInt((int)result
);
9451 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9458 (char *) "self",(char *) "m_pid", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 arg2
= (int) SWIG_AsInt(obj1
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9466 if (arg1
) (arg1
)->m_pid
= arg2
;
9468 Py_INCREF(Py_None
); resultobj
= Py_None
;
9475 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9481 (char *) "self", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9487 result
= (int) ((arg1
)->m_pid
);
9489 resultobj
= SWIG_FromInt((int)result
);
9496 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9503 (char *) "self",(char *) "m_exitcode", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 arg2
= (int) SWIG_AsInt(obj1
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9511 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9513 Py_INCREF(Py_None
); resultobj
= Py_None
;
9520 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 result
= (int) ((arg1
)->m_exitcode
);
9534 resultobj
= SWIG_FromInt((int)result
);
9541 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9544 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9546 return Py_BuildValue((char *)"");
9548 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxString
*arg1
= 0 ;
9551 int arg2
= (int) wxEXEC_ASYNC
;
9552 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9554 bool temp1
= False
;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 PyObject
* obj2
= 0 ;
9559 (char *) "command",(char *) "flags",(char *) "process", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9564 arg1
= wxString_in_helper(obj0
);
9565 if (arg1
== NULL
) SWIG_fail
;
9569 arg2
= (int) SWIG_AsInt(obj1
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_FromLong((long)result
);
9598 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 int arg1
= (int) wxJOYSTICK1
;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "joystick", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9609 arg1
= (int) SWIG_AsInt(obj0
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (wxJoystick
*)new wxJoystick(arg1
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9626 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 Py_INCREF(Py_None
); resultobj
= Py_None
;
9651 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9657 (char *) "self", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (arg1
)->GetPosition();
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 wxPoint
* resultptr
;
9672 resultptr
= new wxPoint((wxPoint
&) result
);
9673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9681 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (int)(arg1
)->GetZPosition();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_FromInt((int)result
);
9707 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (int)(arg1
)->GetButtonState();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_FromInt((int)result
);
9733 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (int)(arg1
)->GetPOVPosition();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_FromInt((int)result
);
9759 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)(arg1
)->GetPOVCTSPosition();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_FromInt((int)result
);
9785 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (int)(arg1
)->GetRudderPosition();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_FromInt((int)result
);
9811 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (int)(arg1
)->GetUPosition();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_FromInt((int)result
);
9837 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (int)(arg1
)->GetVPosition();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_FromInt((int)result
);
9863 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (int)(arg1
)->GetMovementThreshold();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_FromInt((int)result
);
9889 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9896 (char *) "self",(char *) "threshold", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 arg2
= (int) SWIG_AsInt(obj1
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetMovementThreshold(arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (bool)(arg1
)->IsOk();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (int)(arg1
)->GetNumberJoysticks();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_FromInt((int)result
);
9972 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)(arg1
)->GetManufacturerId();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_FromInt((int)result
);
9998 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (int)(arg1
)->GetProductId();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_FromInt((int)result
);
10024 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (arg1
)->GetProductName();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10056 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (int)(arg1
)->GetXMin();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_FromInt((int)result
);
10082 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (int)(arg1
)->GetYMin();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_FromInt((int)result
);
10108 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (int)(arg1
)->GetZMin();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_FromInt((int)result
);
10134 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (int)(arg1
)->GetXMax();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_FromInt((int)result
);
10160 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetYMax();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_FromInt((int)result
);
10186 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)(arg1
)->GetZMax();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_FromInt((int)result
);
10212 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)(arg1
)->GetNumberButtons();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_FromInt((int)result
);
10238 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (int)(arg1
)->GetNumberAxes();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_FromInt((int)result
);
10264 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)(arg1
)->GetMaxButtons();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_FromInt((int)result
);
10290 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (int)(arg1
)->GetMaxAxes();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_FromInt((int)result
);
10316 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (int)(arg1
)->GetPollingMin();
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_FromInt((int)result
);
10342 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (int)(arg1
)->GetPollingMax();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_FromInt((int)result
);
10368 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetRudderMin();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_FromInt((int)result
);
10394 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)(arg1
)->GetRudderMax();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_FromInt((int)result
);
10420 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (int)(arg1
)->GetUMin();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_FromInt((int)result
);
10446 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (int)(arg1
)->GetUMax();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_FromInt((int)result
);
10472 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= (int)(arg1
)->GetVMin();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_FromInt((int)result
);
10498 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (int)(arg1
)->GetVMax();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_FromInt((int)result
);
10524 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (bool)(arg1
)->HasRudder();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10552 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)(arg1
)->HasZ();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10580 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (bool)(arg1
)->HasU();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10608 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (bool)(arg1
)->HasV();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (bool)(arg1
)->HasPOV();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (bool)(arg1
)->HasPOV4Dir();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10692 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10696 PyObject
* obj0
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (bool)(arg1
)->HasPOVCTS();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10720 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10723 wxWindow
*arg2
= (wxWindow
*) 0 ;
10724 int arg3
= (int) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 arg3
= (int) SWIG_AsInt(obj2
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10758 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (bool)(arg1
)->ReleaseCapture();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10789 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10791 return Py_BuildValue((char *)"");
10793 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10796 wxPoint
*arg2
= (wxPoint
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "m_pos", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 if (arg1
) (arg1
)->m_pos
= *arg2
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10829 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10838 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "m_zPosition", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10851 arg2
= (int) SWIG_AsInt(obj1
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10853 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 result
= (int) ((arg1
)->m_zPosition
);
10876 resultobj
= SWIG_FromInt((int)result
);
10883 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "m_buttonChange", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= (int) SWIG_AsInt(obj1
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10898 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 result
= (int) ((arg1
)->m_buttonChange
);
10921 resultobj
= SWIG_FromInt((int)result
);
10928 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "m_buttonState", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10941 arg2
= (int) SWIG_AsInt(obj1
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10943 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10945 Py_INCREF(Py_None
); resultobj
= Py_None
;
10952 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 result
= (int) ((arg1
)->m_buttonState
);
10966 resultobj
= SWIG_FromInt((int)result
);
10973 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "m_joyStick", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 arg2
= (int) SWIG_AsInt(obj1
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10988 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10990 Py_INCREF(Py_None
); resultobj
= Py_None
;
10997 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11009 result
= (int) ((arg1
)->m_joyStick
);
11011 resultobj
= SWIG_FromInt((int)result
);
11018 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11021 int arg2
= (int) 0 ;
11022 int arg3
= (int) wxJOYSTICK1
;
11023 int arg4
= (int) 0 ;
11024 wxJoystickEvent
*result
;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 PyObject
* obj2
= 0 ;
11028 PyObject
* obj3
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11035 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 arg2
= (int) SWIG_AsInt(obj1
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 arg3
= (int) SWIG_AsInt(obj2
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 arg4
= (int) SWIG_AsInt(obj3
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11064 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 wxPoint
* resultptr
;
11085 resultptr
= new wxPoint((wxPoint
&) result
);
11086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11094 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_FromInt((int)result
);
11120 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_FromInt((int)result
);
11146 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_FromInt((int)result
);
11172 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_FromInt((int)result
);
11198 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "stick", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11211 arg2
= (int) SWIG_AsInt(obj1
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->SetJoystick(arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "state", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 arg2
= (int) SWIG_AsInt(obj1
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 (arg1
)->SetButtonState(arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 Py_INCREF(Py_None
); resultobj
= Py_None
;
11256 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "change", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 arg2
= (int) SWIG_AsInt(obj1
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 (arg1
)->SetButtonChange(arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11288 wxPoint
*arg2
= 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "pos", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 Py_INCREF(Py_None
); resultobj
= Py_None
;
11317 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj1
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "zPos", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11330 arg2
= (int) SWIG_AsInt(obj1
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 (arg1
)->SetZPosition(arg2
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 Py_INCREF(Py_None
); resultobj
= Py_None
;
11346 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11374 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11378 PyObject
* obj0
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11402 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11430 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11433 int arg2
= (int) wxJOY_BUTTON_ANY
;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "but", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 arg2
= (int) SWIG_AsInt(obj1
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11464 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11467 int arg2
= (int) wxJOY_BUTTON_ANY
;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self",(char *) "but", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11479 arg2
= (int) SWIG_AsInt(obj1
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11498 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11501 int arg2
= (int) wxJOY_BUTTON_ANY
;
11503 PyObject
* obj0
= 0 ;
11504 PyObject
* obj1
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self",(char *) "but", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 arg2
= (int) SWIG_AsInt(obj1
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11532 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11535 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11537 return Py_BuildValue((char *)"");
11539 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11542 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11544 bool temp1
= False
;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "fileName", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11553 arg1
= wxString_in_helper(obj0
);
11554 if (arg1
== NULL
) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11580 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 PyObject
*arg1
= (PyObject
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "data", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (wxSound
*)new_wxSound(arg1
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11605 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxSound
*arg1
= (wxSound
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 Py_INCREF(Py_None
); resultobj
= Py_None
;
11630 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxSound
*arg1
= (wxSound
*) 0 ;
11633 wxString
*arg2
= 0 ;
11635 bool temp2
= False
;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "self",(char *) "fileName", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11646 arg2
= wxString_in_helper(obj1
);
11647 if (arg2
== NULL
) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11674 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxSound
*arg1
= (wxSound
*) 0 ;
11677 PyObject
*arg2
= (PyObject
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "self",(char *) "data", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11705 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxSound
*arg1
= (wxSound
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (bool)(arg1
)->IsOk();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11733 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxSound
*arg1
= (wxSound
*) 0 ;
11736 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "flags", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11748 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11767 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxString
*arg1
= 0 ;
11770 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11772 bool temp1
= False
;
11773 PyObject
* obj0
= 0 ;
11774 PyObject
* obj1
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "filename",(char *) "flags", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11781 arg1
= wxString_in_helper(obj0
);
11782 if (arg1
== NULL
) SWIG_fail
;
11786 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 char *kwnames
[] = {
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 Py_INCREF(Py_None
); resultobj
= Py_None
;
11834 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11837 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11839 return Py_BuildValue((char *)"");
11841 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxString
*arg1
= 0 ;
11844 wxString
*arg2
= 0 ;
11845 wxString
*arg3
= 0 ;
11846 wxString
*arg4
= 0 ;
11847 wxFileTypeInfo
*result
;
11848 bool temp1
= False
;
11849 bool temp2
= False
;
11850 bool temp3
= False
;
11851 bool temp4
= False
;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 PyObject
* obj2
= 0 ;
11855 PyObject
* obj3
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11862 arg1
= wxString_in_helper(obj0
);
11863 if (arg1
== NULL
) SWIG_fail
;
11867 arg2
= wxString_in_helper(obj1
);
11868 if (arg2
== NULL
) SWIG_fail
;
11872 arg3
= wxString_in_helper(obj2
);
11873 if (arg3
== NULL
) SWIG_fail
;
11877 arg4
= wxString_in_helper(obj3
);
11878 if (arg4
== NULL
) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11927 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxArrayString
*arg1
= 0 ;
11930 wxFileTypeInfo
*result
;
11931 bool temp1
= False
;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "sArray", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11939 if (! PySequence_Check(obj0
)) {
11940 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11943 arg1
= new wxArrayString
;
11945 int i
, len
=PySequence_Length(obj0
);
11946 for (i
=0; i
<len
; i
++) {
11947 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11949 PyObject
* str
= PyObject_Unicode(item
);
11951 PyObject
* str
= PyObject_Str(item
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11954 arg1
->Add(Py2wxString(str
));
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11968 if (temp1
) delete arg1
;
11973 if (temp1
) delete arg1
;
11979 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxFileTypeInfo
*result
;
11982 char *kwnames
[] = {
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12001 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12029 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12032 wxString
*arg2
= 0 ;
12033 int arg3
= (int) 0 ;
12034 bool temp2
= False
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 PyObject
* obj2
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 arg2
= wxString_in_helper(obj1
);
12047 if (arg2
== NULL
) SWIG_fail
;
12051 arg3
= (int) SWIG_AsInt(obj2
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 Py_INCREF(Py_None
); resultobj
= Py_None
;
12076 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12079 wxString
*arg2
= 0 ;
12080 bool temp2
= False
;
12081 PyObject
* obj0
= 0 ;
12082 PyObject
* obj1
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "shortDesc", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12091 arg2
= wxString_in_helper(obj1
);
12092 if (arg2
== NULL
) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12117 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12133 result
= (wxString
*) &_result_ref
;
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12143 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12152 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12168 result
= (wxString
*) &_result_ref
;
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12178 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12187 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12203 result
= (wxString
*) &_result_ref
;
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12213 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12222 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12238 result
= (wxString
*) &_result_ref
;
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12248 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12257 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12273 result
= (wxString
*) &_result_ref
;
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12283 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12292 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12295 wxArrayString
*result
;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12308 result
= (wxArrayString
*) &_result_ref
;
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= wxArrayString2PyList_helper(*result
);
12323 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_FromInt((int)result
);
12349 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12365 result
= (wxString
*) &_result_ref
;
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12384 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_FromInt((int)result
);
12410 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12413 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12415 return Py_BuildValue((char *)"");
12417 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxFileTypeInfo
*arg1
= 0 ;
12420 wxFileType
*result
;
12421 PyObject
* obj0
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "ftInfo", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12430 if (arg1
== NULL
) {
12431 PyErr_SetString(PyExc_TypeError
,"null reference");
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12448 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileType
*arg1
= (wxFileType
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 Py_INCREF(Py_None
); resultobj
= Py_None
;
12473 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxFileType
*arg1
= (wxFileType
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= result
;
12499 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxFileType
*arg1
= (wxFileType
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= result
;
12525 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxFileType
*arg1
= (wxFileType
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= result
;
12551 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxFileType
*arg1
= (wxFileType
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12577 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxFileType
*arg1
= (wxFileType
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= result
;
12603 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxFileType
*arg1
= (wxFileType
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 char *kwnames
[] = {
12609 (char *) "self", NULL
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
;
12629 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxFileType
*arg1
= (wxFileType
*) 0 ;
12632 wxString
*arg2
= 0 ;
12633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12636 bool temp2
= False
;
12637 bool temp3
= False
;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 PyObject
* obj2
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 arg2
= wxString_in_helper(obj1
);
12650 if (arg2
== NULL
) SWIG_fail
;
12655 arg3
= wxString_in_helper(obj2
);
12656 if (arg3
== NULL
) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= result
;
12690 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxFileType
*arg1
= (wxFileType
*) 0 ;
12693 wxString
*arg2
= 0 ;
12694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12697 bool temp2
= False
;
12698 bool temp3
= False
;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 PyObject
* obj2
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= wxString_in_helper(obj1
);
12711 if (arg2
== NULL
) SWIG_fail
;
12716 arg3
= wxString_in_helper(obj2
);
12717 if (arg3
== NULL
) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= result
;
12751 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxFileType
*arg1
= (wxFileType
*) 0 ;
12754 wxString
*arg2
= 0 ;
12755 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12756 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12758 bool temp2
= False
;
12759 bool temp3
= False
;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 PyObject
* obj2
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12771 arg2
= wxString_in_helper(obj1
);
12772 if (arg2
== NULL
) SWIG_fail
;
12777 arg3
= wxString_in_helper(obj2
);
12778 if (arg3
== NULL
) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= result
;
12812 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxFileType
*arg1
= (wxFileType
*) 0 ;
12815 wxString
*arg2
= 0 ;
12816 wxString
*arg3
= 0 ;
12817 bool arg4
= (bool) True
;
12819 bool temp2
= False
;
12820 bool temp3
= False
;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 PyObject
* obj2
= 0 ;
12824 PyObject
* obj3
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12833 arg2
= wxString_in_helper(obj1
);
12834 if (arg2
== NULL
) SWIG_fail
;
12838 arg3
= wxString_in_helper(obj2
);
12839 if (arg3
== NULL
) SWIG_fail
;
12843 arg4
= (bool) SWIG_AsBool(obj3
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12878 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12879 PyObject
*resultobj
;
12880 wxFileType
*arg1
= (wxFileType
*) 0 ;
12881 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12882 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12883 int arg3
= (int) 0 ;
12885 bool temp2
= False
;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 PyObject
* obj2
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "cmd",(char *) "index", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 arg2
= wxString_in_helper(obj1
);
12899 if (arg2
== NULL
) SWIG_fail
;
12904 arg3
= (int) SWIG_AsInt(obj2
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxFileType
*arg1
= (wxFileType
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (bool)(arg1
)->Unassociate();
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12959 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxString
*arg1
= 0 ;
12962 wxString
*arg2
= 0 ;
12963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12966 bool temp1
= False
;
12967 bool temp2
= False
;
12968 bool temp3
= False
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12978 arg1
= wxString_in_helper(obj0
);
12979 if (arg1
== NULL
) SWIG_fail
;
12983 arg2
= wxString_in_helper(obj1
);
12984 if (arg2
== NULL
) SWIG_fail
;
12989 arg3
= wxString_in_helper(obj2
);
12990 if (arg3
== NULL
) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13038 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13041 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13043 return Py_BuildValue((char *)"");
13045 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13046 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13051 static PyObject
*_wrap_TheMimeTypesManager_get() {
13054 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13059 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxString
*arg1
= 0 ;
13062 wxString
*arg2
= 0 ;
13064 bool temp1
= False
;
13065 bool temp2
= False
;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "mimeType",(char *) "wildcard", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13074 arg1
= wxString_in_helper(obj0
);
13075 if (arg1
== NULL
) SWIG_fail
;
13079 arg2
= wxString_in_helper(obj1
);
13080 if (arg2
== NULL
) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13115 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxMimeTypesManager
*result
;
13118 char *kwnames
[] = {
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13137 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13140 int arg2
= (int) wxMAILCAP_ALL
;
13141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13143 bool temp3
= False
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 PyObject
* obj2
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 arg2
= (int) SWIG_AsInt(obj1
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13160 arg3
= wxString_in_helper(obj2
);
13161 if (arg3
== NULL
) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 Py_INCREF(Py_None
); resultobj
= Py_None
;
13187 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->ClearData();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13215 wxString
*arg2
= 0 ;
13216 wxFileType
*result
;
13217 bool temp2
= False
;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "ext", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 arg2
= wxString_in_helper(obj1
);
13229 if (arg2
== NULL
) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13254 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13257 wxString
*arg2
= 0 ;
13258 wxFileType
*result
;
13259 bool temp2
= False
;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self",(char *) "mimeType", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 arg2
= wxString_in_helper(obj1
);
13271 if (arg2
== NULL
) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13296 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13299 wxString
*arg2
= 0 ;
13300 bool arg3
= (bool) False
;
13302 bool temp2
= False
;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 PyObject
* obj2
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 arg2
= wxString_in_helper(obj1
);
13315 if (arg2
== NULL
) SWIG_fail
;
13319 arg3
= (bool) SWIG_AsBool(obj2
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13346 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13349 wxString
*arg2
= 0 ;
13351 bool temp2
= False
;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "filename", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 arg2
= wxString_in_helper(obj1
);
13363 if (arg2
== NULL
) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= result
;
13416 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13419 wxFileTypeInfo
*arg2
= 0 ;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self",(char *) "ft", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13432 if (arg2
== NULL
) {
13433 PyErr_SetString(PyExc_TypeError
,"null reference");
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 Py_INCREF(Py_None
); resultobj
= Py_None
;
13450 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13453 wxFileTypeInfo
*arg2
= 0 ;
13454 wxFileType
*result
;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "ftInfo", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13467 if (arg2
== NULL
) {
13468 PyErr_SetString(PyExc_TypeError
,"null reference");
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13485 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13488 wxFileType
*arg2
= (wxFileType
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "ft", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (bool)(arg1
)->Unassociate(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13517 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 Py_INCREF(Py_None
); resultobj
= Py_None
;
13542 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13545 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13547 return Py_BuildValue((char *)"");
13549 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13550 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13555 static PyObject
*_wrap_ART_TOOLBAR_get() {
13560 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13562 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13569 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13570 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13575 static PyObject
*_wrap_ART_MENU_get() {
13580 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13582 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13589 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13590 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13595 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13600 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13602 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13609 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13610 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13615 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13620 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13622 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13629 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13630 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13635 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13640 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13642 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13649 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13650 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13655 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13660 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13662 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13669 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13670 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13675 static PyObject
*_wrap_ART_OTHER_get() {
13680 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13682 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13689 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13690 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13695 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13700 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13702 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13709 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13710 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13715 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13720 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13722 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13729 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13730 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13735 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13740 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13742 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13749 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13750 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13755 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13760 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13762 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13769 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13770 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13775 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13780 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13782 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13789 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13790 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13795 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13800 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13802 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13809 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13810 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13815 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13820 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13822 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13829 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13835 static PyObject
*_wrap_ART_GO_BACK_get() {
13840 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13842 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13849 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13850 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13855 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13860 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13862 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13869 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13870 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13875 static PyObject
*_wrap_ART_GO_UP_get() {
13880 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13882 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13889 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13890 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13895 static PyObject
*_wrap_ART_GO_DOWN_get() {
13900 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13902 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13909 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13910 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13915 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13920 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13922 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13929 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13930 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13935 static PyObject
*_wrap_ART_GO_HOME_get() {
13940 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13942 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13949 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13950 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13955 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13960 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13962 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13969 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13970 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13975 static PyObject
*_wrap_ART_PRINT_get() {
13980 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13989 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13990 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13995 static PyObject
*_wrap_ART_HELP_get() {
14000 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14009 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14010 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14015 static PyObject
*_wrap_ART_TIP_get() {
14020 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14022 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14029 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14030 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14035 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14040 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14042 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14049 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14050 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14055 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14060 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14062 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14069 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14070 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14075 static PyObject
*_wrap_ART_NEW_DIR_get() {
14080 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14082 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14089 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14090 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14095 static PyObject
*_wrap_ART_FOLDER_get() {
14100 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14102 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14109 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14110 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14115 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14120 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14122 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14129 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14130 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14135 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14140 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14142 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14149 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14150 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14155 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14160 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14162 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14169 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14170 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14175 static PyObject
*_wrap_ART_TICK_MARK_get() {
14180 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14182 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14189 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14190 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14195 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14200 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14202 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14209 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14210 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14215 static PyObject
*_wrap_ART_ERROR_get() {
14220 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14222 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14229 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14230 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14235 static PyObject
*_wrap_ART_QUESTION_get() {
14240 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14242 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14249 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14250 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14255 static PyObject
*_wrap_ART_WARNING_get() {
14260 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14262 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14269 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14270 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14275 static PyObject
*_wrap_ART_INFORMATION_get() {
14280 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14282 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14289 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14290 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14295 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14300 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14302 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14309 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxPyArtProvider
*result
;
14312 char *kwnames
[] = {
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14331 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14334 PyObject
*arg2
= (PyObject
*) 0 ;
14335 PyObject
*arg3
= (PyObject
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "self",(char *) "_class", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "provider", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 wxPyArtProvider::PushProvider(arg1
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 Py_INCREF(Py_None
); resultobj
= Py_None
;
14387 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14390 char *kwnames
[] = {
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (bool)wxPyArtProvider::PopProvider();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14411 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "provider", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxString
*arg1
= 0 ;
14442 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14443 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14444 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14445 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14447 bool temp1
= False
;
14448 bool temp2
= False
;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 PyObject
* obj2
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "id",(char *) "client",(char *) "size", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14459 arg1
= wxString_in_helper(obj0
);
14460 if (arg1
== NULL
) SWIG_fail
;
14465 arg2
= wxString_in_helper(obj1
);
14466 if (arg2
== NULL
) SWIG_fail
;
14473 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14484 wxBitmap
* resultptr
;
14485 resultptr
= new wxBitmap((wxBitmap
&) result
);
14486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14510 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxString
*arg1
= 0 ;
14513 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14514 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14515 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14516 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14518 bool temp1
= False
;
14519 bool temp2
= False
;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 PyObject
* obj2
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "id",(char *) "client",(char *) "size", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14530 arg1
= wxString_in_helper(obj0
);
14531 if (arg1
== NULL
) SWIG_fail
;
14536 arg2
= wxString_in_helper(obj1
);
14537 if (arg2
== NULL
) SWIG_fail
;
14544 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 wxIcon
* resultptr
;
14556 resultptr
= new wxIcon((wxIcon
&) result
);
14557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14581 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 wxPyArtProvider_Destroy(arg1
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14606 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14609 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14611 return Py_BuildValue((char *)"");
14613 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 Py_INCREF(Py_None
); resultobj
= Py_None
;
14638 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14641 wxConfigBase
*result
;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "config", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14664 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 bool arg1
= (bool) True
;
14667 wxConfigBase
*result
;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "createOnDemand", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14675 arg1
= (bool) SWIG_AsBool(obj0
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14692 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxConfigBase
*result
;
14695 char *kwnames
[] = {
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (wxConfigBase
*)wxConfigBase::Create();
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14714 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 char *kwnames
[] = {
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 wxConfigBase::DontCreateOnDemand();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 Py_INCREF(Py_None
); resultobj
= Py_None
;
14735 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14738 wxString
*arg2
= 0 ;
14739 bool temp2
= False
;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "path", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 arg2
= wxString_in_helper(obj1
);
14751 if (arg2
== NULL
) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetPath((wxString
const &)*arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14792 result
= (wxString
*) &_result_ref
;
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14802 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14811 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= result
;
14837 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "index", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 arg2
= (long) SWIG_AsLong(obj1
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
;
14867 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= result
;
14893 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self",(char *) "index", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 arg2
= (long) SWIG_AsLong(obj1
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
;
14923 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14926 bool arg2
= (bool) False
;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self",(char *) "recursive", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 arg2
= (bool) SWIG_AsBool(obj1
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14955 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14958 bool arg2
= (bool) False
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "recursive", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 arg2
= (bool) SWIG_AsBool(obj1
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14987 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14990 wxString
*arg2
= 0 ;
14992 bool temp2
= False
;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self",(char *) "name", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 arg2
= wxString_in_helper(obj1
);
15004 if (arg2
== NULL
) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15031 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15034 wxString
*arg2
= 0 ;
15036 bool temp2
= False
;
15037 PyObject
* obj0
= 0 ;
15038 PyObject
* obj1
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self",(char *) "name", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 arg2
= wxString_in_helper(obj1
);
15048 if (arg2
== NULL
) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15078 wxString
*arg2
= 0 ;
15080 bool temp2
= False
;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self",(char *) "name", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 arg2
= wxString_in_helper(obj1
);
15092 if (arg2
== NULL
) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15119 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15122 wxString
*arg2
= 0 ;
15124 bool temp2
= False
;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "name", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 arg2
= wxString_in_helper(obj1
);
15136 if (arg2
== NULL
) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_FromInt((int)result
);
15161 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15164 wxString
*arg2
= 0 ;
15165 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15166 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15168 bool temp2
= False
;
15169 bool temp3
= False
;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 PyObject
* obj2
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15181 arg2
= wxString_in_helper(obj1
);
15182 if (arg2
== NULL
) SWIG_fail
;
15187 arg3
= wxString_in_helper(obj2
);
15188 if (arg3
== NULL
) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15228 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15231 wxString
*arg2
= 0 ;
15232 long arg3
= (long) 0 ;
15234 bool temp2
= False
;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15246 arg2
= wxString_in_helper(obj1
);
15247 if (arg2
== NULL
) SWIG_fail
;
15251 arg3
= (long) SWIG_AsLong(obj2
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_FromLong((long)result
);
15276 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15279 wxString
*arg2
= 0 ;
15280 double arg3
= (double) 0.0 ;
15282 bool temp2
= False
;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 PyObject
* obj2
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 arg2
= wxString_in_helper(obj1
);
15295 if (arg2
== NULL
) SWIG_fail
;
15299 arg3
= (double) SWIG_AsDouble(obj2
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_FromDouble((double)result
);
15324 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15327 wxString
*arg2
= 0 ;
15328 bool arg3
= (bool) False
;
15330 bool temp2
= False
;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 PyObject
* obj2
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 arg2
= wxString_in_helper(obj1
);
15343 if (arg2
== NULL
) SWIG_fail
;
15347 arg3
= (bool) SWIG_AsBool(obj2
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15377 wxString
*arg2
= 0 ;
15378 wxString
*arg3
= 0 ;
15380 bool temp2
= False
;
15381 bool temp3
= False
;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 PyObject
* obj2
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self",(char *) "key",(char *) "value", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 arg2
= wxString_in_helper(obj1
);
15394 if (arg2
== NULL
) SWIG_fail
;
15398 arg3
= wxString_in_helper(obj2
);
15399 if (arg3
== NULL
) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15437 wxString
*arg2
= 0 ;
15440 bool temp2
= False
;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "key",(char *) "value", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 arg2
= wxString_in_helper(obj1
);
15453 if (arg2
== NULL
) SWIG_fail
;
15456 arg3
= (long) SWIG_AsLong(obj2
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15482 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15485 wxString
*arg2
= 0 ;
15488 bool temp2
= False
;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 PyObject
* obj2
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self",(char *) "key",(char *) "value", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 arg2
= wxString_in_helper(obj1
);
15501 if (arg2
== NULL
) SWIG_fail
;
15504 arg3
= (double) SWIG_AsDouble(obj2
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15530 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15533 wxString
*arg2
= 0 ;
15536 bool temp2
= False
;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 PyObject
* obj2
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "key",(char *) "value", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 arg2
= wxString_in_helper(obj1
);
15549 if (arg2
== NULL
) SWIG_fail
;
15552 arg3
= (bool) SWIG_AsBool(obj2
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15578 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15581 bool arg2
= (bool) False
;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "currentOnly", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 arg2
= (bool) SWIG_AsBool(obj1
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (bool)(arg1
)->Flush(arg2
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15615 wxString
*arg2
= 0 ;
15616 wxString
*arg3
= 0 ;
15618 bool temp2
= False
;
15619 bool temp3
= False
;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 PyObject
* obj2
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 arg2
= wxString_in_helper(obj1
);
15632 if (arg2
== NULL
) SWIG_fail
;
15636 arg3
= wxString_in_helper(obj2
);
15637 if (arg3
== NULL
) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15675 wxString
*arg2
= 0 ;
15676 wxString
*arg3
= 0 ;
15678 bool temp2
= False
;
15679 bool temp3
= False
;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 arg2
= wxString_in_helper(obj1
);
15692 if (arg2
== NULL
) SWIG_fail
;
15696 arg3
= wxString_in_helper(obj2
);
15697 if (arg3
== NULL
) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15732 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15735 wxString
*arg2
= 0 ;
15736 bool arg3
= (bool) True
;
15738 bool temp2
= False
;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= wxString_in_helper(obj1
);
15751 if (arg2
== NULL
) SWIG_fail
;
15755 arg3
= (bool) SWIG_AsBool(obj2
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15782 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15785 wxString
*arg2
= 0 ;
15787 bool temp2
= False
;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self",(char *) "key", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 arg2
= wxString_in_helper(obj1
);
15799 if (arg2
== NULL
) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15826 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (bool)(arg1
)->DeleteAll();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15854 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15857 bool arg2
= (bool) True
;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "doIt", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15868 arg2
= (bool) SWIG_AsBool(obj1
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 (arg1
)->SetExpandEnvVars(arg2
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 Py_INCREF(Py_None
); resultobj
= Py_None
;
15885 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15916 bool arg2
= (bool) True
;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self",(char *) "doIt", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 arg2
= (bool) SWIG_AsBool(obj1
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->SetRecordDefaults(arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15944 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15972 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15975 wxString
*arg2
= 0 ;
15977 bool temp2
= False
;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self",(char *) "str", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 arg2
= wxString_in_helper(obj1
);
15989 if (arg2
== NULL
) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16020 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16052 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16084 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16087 wxString
*arg2
= 0 ;
16088 bool temp2
= False
;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self",(char *) "appName", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 arg2
= wxString_in_helper(obj1
);
16100 if (arg2
== NULL
) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 (arg1
)->SetAppName((wxString
const &)*arg2
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16128 wxString
*arg2
= 0 ;
16129 bool temp2
= False
;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "vendorName", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 arg2
= wxString_in_helper(obj1
);
16141 if (arg2
== NULL
) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 Py_INCREF(Py_None
); resultobj
= Py_None
;
16166 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 PyObject
* obj1
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self",(char *) "style", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16179 arg2
= (long) SWIG_AsLong(obj1
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->SetStyle(arg2
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_FromLong((long)result
);
16221 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16224 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16226 return Py_BuildValue((char *)"");
16228 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16231 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16232 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16233 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16234 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16235 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16236 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16237 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16238 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16240 bool temp1
= False
;
16241 bool temp2
= False
;
16242 bool temp3
= False
;
16243 bool temp4
= False
;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 PyObject
* obj2
= 0 ;
16247 PyObject
* obj3
= 0 ;
16248 PyObject
* obj4
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16256 arg1
= wxString_in_helper(obj0
);
16257 if (arg1
== NULL
) SWIG_fail
;
16263 arg2
= wxString_in_helper(obj1
);
16264 if (arg2
== NULL
) SWIG_fail
;
16270 arg3
= wxString_in_helper(obj2
);
16271 if (arg3
== NULL
) SWIG_fail
;
16277 arg4
= wxString_in_helper(obj3
);
16278 if (arg4
== NULL
) SWIG_fail
;
16283 arg5
= (long) SWIG_AsLong(obj4
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16332 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxConfig
*arg1
= (wxConfig
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16360 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16362 return Py_BuildValue((char *)"");
16364 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16367 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16368 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16369 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16370 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16371 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16372 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16373 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16374 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16375 wxFileConfig
*result
;
16376 bool temp1
= False
;
16377 bool temp2
= False
;
16378 bool temp3
= False
;
16379 bool temp4
= False
;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 PyObject
* obj2
= 0 ;
16383 PyObject
* obj3
= 0 ;
16384 PyObject
* obj4
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16392 arg1
= wxString_in_helper(obj0
);
16393 if (arg1
== NULL
) SWIG_fail
;
16399 arg2
= wxString_in_helper(obj1
);
16400 if (arg2
== NULL
) SWIG_fail
;
16406 arg3
= wxString_in_helper(obj2
);
16407 if (arg3
== NULL
) SWIG_fail
;
16413 arg4
= wxString_in_helper(obj3
);
16414 if (arg4
== NULL
) SWIG_fail
;
16419 arg5
= (long) SWIG_AsLong(obj4
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16468 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 Py_INCREF(Py_None
); resultobj
= Py_None
;
16493 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16496 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16498 return Py_BuildValue((char *)"");
16500 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16503 wxString
*arg2
= 0 ;
16504 wxConfigPathChanger
*result
;
16505 bool temp2
= False
;
16506 PyObject
* obj0
= 0 ;
16507 PyObject
* obj1
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "config",(char *) "entry", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16516 arg2
= wxString_in_helper(obj1
);
16517 if (arg2
== NULL
) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16542 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16583 result
= (wxString
*) &_result_ref
;
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16602 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16605 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16607 return Py_BuildValue((char *)"");
16609 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxString
*arg1
= 0 ;
16613 bool temp1
= False
;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "sz", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16621 arg1
= wxString_in_helper(obj0
);
16622 if (arg1
== NULL
) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16653 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16654 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16659 static PyObject
*_wrap_DateFormatStr_get() {
16664 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16666 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16673 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16674 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16679 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16684 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16686 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16693 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16696 PyObject
* obj0
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "country", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16702 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 Py_INCREF(Py_None
); resultobj
= Py_None
;
16718 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16721 char *kwnames
[] = {
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (int)wxDateTime::GetCountry();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= SWIG_FromInt((int)result
);
16740 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 int arg1
= (int) wxDateTime::Country_Default
;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "country", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16751 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16770 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 int arg1
= (int) wxDateTime::Gregorian
;
16774 PyObject
* obj0
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "cal", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16781 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_FromInt((int)result
);
16798 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "year", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16808 arg1
= (int) SWIG_AsInt(obj0
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_FromInt((int)result
);
16824 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 int arg1
= (int) wxDateTime::Gregorian
;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "cal", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16835 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= SWIG_FromInt((int)result
);
16852 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 int arg1
= (int) wxDateTime::Inv_Year
;
16855 int arg2
= (int) wxDateTime::Gregorian
;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "year",(char *) "cal", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16865 arg1
= (int) SWIG_AsInt(obj0
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16888 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 int arg1
= (int) wxDateTime::Inv_Year
;
16892 PyObject
* obj0
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "year", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16899 arg1
= (int) SWIG_AsInt(obj0
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (int)wxDateTime::GetCentury(arg1
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_FromInt((int)result
);
16916 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16919 int arg2
= (int) wxDateTime::Gregorian
;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "year",(char *) "cal", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 arg1
= (int) SWIG_AsInt(obj0
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_FromInt((int)result
);
16948 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16951 int arg2
= (int) wxDateTime::Inv_Year
;
16952 int arg3
= (int) wxDateTime::Gregorian
;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 PyObject
* obj2
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "month",(char *) "year",(char *) "cal", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16962 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 arg2
= (int) SWIG_AsInt(obj1
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_FromInt((int)result
);
16986 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16989 int arg2
= (int) wxDateTime::Name_Full
;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "month",(char *) "flags", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16998 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17024 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17027 int arg2
= (int) wxDateTime::Name_Full
;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "weekday",(char *) "flags", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17036 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17062 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxString
*arg1
= (wxString
*) 0 ;
17065 wxString
*arg2
= (wxString
*) 0 ;
17066 bool temp1
= False
;
17067 bool temp2
= False
;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17076 arg1
= wxString_in_helper(obj0
);
17077 if (arg1
== NULL
) SWIG_fail
;
17081 arg2
= wxString_in_helper(obj1
);
17082 if (arg2
== NULL
) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17115 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 int arg1
= (int) wxDateTime::Inv_Year
;
17118 int arg2
= (int) wxDateTime::Country_Default
;
17120 PyObject
* obj0
= 0 ;
17121 PyObject
* obj1
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "year",(char *) "country", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 arg1
= (int) SWIG_AsInt(obj0
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17151 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 int arg1
= (int) wxDateTime::Inv_Year
;
17154 int arg2
= (int) wxDateTime::Country_Default
;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "year",(char *) "country", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17164 arg1
= (int) SWIG_AsInt(obj0
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 wxDateTime
* resultptr
;
17180 resultptr
= new wxDateTime((wxDateTime
&) result
);
17181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17189 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 int arg1
= (int) wxDateTime::Inv_Year
;
17192 int arg2
= (int) wxDateTime::Country_Default
;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "year",(char *) "country", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17202 arg1
= (int) SWIG_AsInt(obj0
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17206 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 wxDateTime
* resultptr
;
17218 resultptr
= new wxDateTime((wxDateTime
&) result
);
17219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17227 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17230 char *kwnames
[] = {
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= wxDateTime::Now();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 wxDateTime
* resultptr
;
17244 resultptr
= new wxDateTime((wxDateTime
&) result
);
17245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17253 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17256 char *kwnames
[] = {
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= wxDateTime::UNow();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 wxDateTime
* resultptr
;
17270 resultptr
= new wxDateTime((wxDateTime
&) result
);
17271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17279 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17282 char *kwnames
[] = {
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= wxDateTime::Today();
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 wxDateTime
* resultptr
;
17296 resultptr
= new wxDateTime((wxDateTime
&) result
);
17297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17305 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxDateTime
*result
;
17308 char *kwnames
[] = {
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxDateTime
*)new wxDateTime();
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17327 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17330 wxDateTime
*result
;
17331 PyObject
* obj0
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "timet", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17337 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (wxDateTime
*)new wxDateTime(arg1
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17353 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17356 wxDateTime
*result
;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "jdn", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17363 arg1
= (double) SWIG_AsDouble(obj0
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (wxDateTime
*)new wxDateTime(arg1
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17379 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17382 int arg2
= (int) 0 ;
17383 int arg3
= (int) 0 ;
17384 int arg4
= (int) 0 ;
17385 wxDateTime
*result
;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 PyObject
* obj3
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17395 arg1
= (int) SWIG_AsInt(obj0
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 arg2
= (int) SWIG_AsInt(obj1
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 arg3
= (int) SWIG_AsInt(obj2
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 arg4
= (int) SWIG_AsInt(obj3
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17423 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17426 int arg2
= (int) wxDateTime::Inv_Month
;
17427 int arg3
= (int) wxDateTime::Inv_Year
;
17428 int arg4
= (int) 0 ;
17429 int arg5
= (int) 0 ;
17430 int arg6
= (int) 0 ;
17431 int arg7
= (int) 0 ;
17432 wxDateTime
*result
;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 PyObject
* obj2
= 0 ;
17436 PyObject
* obj3
= 0 ;
17437 PyObject
* obj4
= 0 ;
17438 PyObject
* obj5
= 0 ;
17439 PyObject
* obj6
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17445 arg1
= (int) SWIG_AsInt(obj0
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 arg3
= (int) SWIG_AsInt(obj2
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 arg4
= (int) SWIG_AsInt(obj3
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 arg5
= (int) SWIG_AsInt(obj4
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 arg6
= (int) SWIG_AsInt(obj5
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 arg7
= (int) SWIG_AsInt(obj6
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17485 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 Py_INCREF(Py_None
); resultobj
= Py_None
;
17510 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17513 wxDateTime
*result
;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17526 result
= (wxDateTime
*) &_result_ref
;
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17539 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17543 wxDateTime
*result
;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "timet", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17559 result
= (wxDateTime
*) &_result_ref
;
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17572 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17576 wxDateTime
*result
;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "jdn", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 arg2
= (double) SWIG_AsDouble(obj1
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17592 result
= (wxDateTime
*) &_result_ref
;
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17605 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17609 int arg3
= (int) 0 ;
17610 int arg4
= (int) 0 ;
17611 int arg5
= (int) 0 ;
17612 wxDateTime
*result
;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 PyObject
* obj3
= 0 ;
17617 PyObject
* obj4
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 arg2
= (int) SWIG_AsInt(obj1
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 arg3
= (int) SWIG_AsInt(obj2
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 arg4
= (int) SWIG_AsInt(obj3
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 arg5
= (int) SWIG_AsInt(obj4
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17643 result
= (wxDateTime
*) &_result_ref
;
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17656 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17660 int arg3
= (int) wxDateTime::Inv_Month
;
17661 int arg4
= (int) wxDateTime::Inv_Year
;
17662 int arg5
= (int) 0 ;
17663 int arg6
= (int) 0 ;
17664 int arg7
= (int) 0 ;
17665 int arg8
= (int) 0 ;
17666 wxDateTime
*result
;
17667 PyObject
* obj0
= 0 ;
17668 PyObject
* obj1
= 0 ;
17669 PyObject
* obj2
= 0 ;
17670 PyObject
* obj3
= 0 ;
17671 PyObject
* obj4
= 0 ;
17672 PyObject
* obj5
= 0 ;
17673 PyObject
* obj6
= 0 ;
17674 PyObject
* obj7
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 arg2
= (int) SWIG_AsInt(obj1
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17689 arg4
= (int) SWIG_AsInt(obj3
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17693 arg5
= (int) SWIG_AsInt(obj4
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 arg6
= (int) SWIG_AsInt(obj5
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 arg7
= (int) SWIG_AsInt(obj6
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 arg8
= (int) SWIG_AsInt(obj7
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17712 result
= (wxDateTime
*) &_result_ref
;
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17725 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17728 wxDateTime
*result
;
17729 PyObject
* obj0
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17741 result
= (wxDateTime
*) &_result_ref
;
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17754 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17758 wxDateTime
*result
;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self",(char *) "year", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17768 arg2
= (int) SWIG_AsInt(obj1
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17774 result
= (wxDateTime
*) &_result_ref
;
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17787 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17791 wxDateTime
*result
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "month", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17807 result
= (wxDateTime
*) &_result_ref
;
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17820 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17824 wxDateTime
*result
;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self",(char *) "day", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 arg2
= (int) SWIG_AsInt(obj1
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17840 result
= (wxDateTime
*) &_result_ref
;
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17853 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17857 wxDateTime
*result
;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self",(char *) "hour", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17867 arg2
= (int) SWIG_AsInt(obj1
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17873 result
= (wxDateTime
*) &_result_ref
;
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17886 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17890 wxDateTime
*result
;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "minute", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 arg2
= (int) SWIG_AsInt(obj1
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17906 result
= (wxDateTime
*) &_result_ref
;
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17919 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17923 wxDateTime
*result
;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "second", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 arg2
= (int) SWIG_AsInt(obj1
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17939 result
= (wxDateTime
*) &_result_ref
;
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17952 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17956 wxDateTime
*result
;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self",(char *) "millisecond", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17966 arg2
= (int) SWIG_AsInt(obj1
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17972 result
= (wxDateTime
*) &_result_ref
;
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17985 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17989 int arg3
= (int) wxDateTime::Monday_First
;
17990 wxDateTime
*result
;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 PyObject
* obj2
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18011 result
= (wxDateTime
*) &_result_ref
;
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18024 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18028 int arg3
= (int) wxDateTime::Monday_First
;
18030 PyObject
* obj0
= 0 ;
18031 PyObject
* obj1
= 0 ;
18032 PyObject
* obj2
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 wxDateTime
* resultptr
;
18055 resultptr
= new wxDateTime((wxDateTime
&) result
);
18056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18064 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18068 wxDateTime
*result
;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "weekday", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18084 result
= (wxDateTime
*) &_result_ref
;
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18097 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 PyObject
* obj1
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self",(char *) "weekday", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18111 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 wxDateTime
* resultptr
;
18122 resultptr
= new wxDateTime((wxDateTime
&) result
);
18123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18131 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18135 wxDateTime
*result
;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "weekday", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18151 result
= (wxDateTime
*) &_result_ref
;
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18164 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "weekday", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18188 wxDateTime
* resultptr
;
18189 resultptr
= new wxDateTime((wxDateTime
&) result
);
18190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18198 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18202 int arg3
= (int) 1 ;
18203 int arg4
= (int) wxDateTime::Inv_Month
;
18204 int arg5
= (int) wxDateTime::Inv_Year
;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 PyObject
* obj3
= 0 ;
18210 PyObject
* obj4
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18218 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 arg3
= (int) SWIG_AsInt(obj2
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 arg5
= (int) SWIG_AsInt(obj4
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18248 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18252 int arg3
= (int) wxDateTime::Inv_Month
;
18253 int arg4
= (int) wxDateTime::Inv_Year
;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 PyObject
* obj2
= 0 ;
18258 PyObject
* obj3
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 arg4
= (int) SWIG_AsInt(obj3
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18292 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18296 int arg3
= (int) wxDateTime::Inv_Month
;
18297 int arg4
= (int) wxDateTime::Inv_Year
;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 PyObject
* obj2
= 0 ;
18302 PyObject
* obj3
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18310 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 arg4
= (int) SWIG_AsInt(obj3
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 wxDateTime
* resultptr
;
18329 resultptr
= new wxDateTime((wxDateTime
&) result
);
18330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18338 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18342 int arg3
= (int) wxDateTime::Mon
;
18343 int arg4
= (int) wxDateTime::Monday_First
;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 PyObject
* obj2
= 0 ;
18348 PyObject
* obj3
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 arg2
= (int) SWIG_AsInt(obj1
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18363 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18382 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18386 int arg3
= (int) wxDateTime::Mon
;
18387 int arg4
= (int) wxDateTime::Monday_First
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 PyObject
* obj2
= 0 ;
18392 PyObject
* obj3
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 arg2
= (int) SWIG_AsInt(obj1
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18407 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 wxDateTime
* resultptr
;
18419 resultptr
= new wxDateTime((wxDateTime
&) result
);
18420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18428 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18431 int arg2
= (int) wxDateTime::Inv_Month
;
18432 int arg3
= (int) wxDateTime::Inv_Year
;
18433 wxDateTime
*result
;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 PyObject
* obj2
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "month",(char *) "year", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 arg3
= (int) SWIG_AsInt(obj2
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18456 result
= (wxDateTime
*) &_result_ref
;
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18469 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18472 int arg2
= (int) wxDateTime::Inv_Month
;
18473 int arg3
= (int) wxDateTime::Inv_Year
;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 PyObject
* obj2
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "month",(char *) "year", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 arg3
= (int) SWIG_AsInt(obj2
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 wxDateTime
* resultptr
;
18502 resultptr
= new wxDateTime((wxDateTime
&) result
);
18503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18511 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18515 wxDateTime
*result
;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self",(char *) "yday", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 arg2
= (int) SWIG_AsInt(obj1
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18531 result
= (wxDateTime
*) &_result_ref
;
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18544 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "yday", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 arg2
= (int) SWIG_AsInt(obj1
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (arg1
)->GetYearDay(arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 wxDateTime
* resultptr
;
18569 resultptr
= new wxDateTime((wxDateTime
&) result
);
18570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18578 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 result
= (double)(arg1
)->GetJulianDayNumber();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_FromDouble((double)result
);
18604 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (double)(arg1
)->GetJDN();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_FromDouble((double)result
);
18630 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= SWIG_FromDouble((double)result
);
18656 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (double)(arg1
)->GetMJD();
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= SWIG_FromDouble((double)result
);
18682 static PyObject
*_wrap_DateTime_GetRataDie(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_GetRataDie",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
= (double)(arg1
)->GetRataDie();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_FromDouble((double)result
);
18708 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18711 wxDateTime::TimeZone
*arg2
= 0 ;
18712 bool arg3
= (bool) False
;
18714 bool temp2
= False
;
18715 PyObject
* obj0
= 0 ;
18716 PyObject
* obj1
= 0 ;
18717 PyObject
* obj2
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18726 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18730 arg3
= (bool) SWIG_AsBool(obj2
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 wxDateTime
* resultptr
;
18742 resultptr
= new wxDateTime((wxDateTime
&) result
);
18743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18746 if (temp2
) delete arg2
;
18751 if (temp2
) delete arg2
;
18757 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18760 wxDateTime::TimeZone
*arg2
= 0 ;
18761 bool arg3
= (bool) False
;
18762 wxDateTime
*result
;
18763 bool temp2
= False
;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 PyObject
* obj2
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18779 arg3
= (bool) SWIG_AsBool(obj2
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18786 result
= (wxDateTime
*) &_result_ref
;
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18794 if (temp2
) delete arg2
;
18799 if (temp2
) delete arg2
;
18805 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18808 bool arg2
= (bool) False
;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self",(char *) "noDST", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= (bool) SWIG_AsBool(obj1
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (arg1
)->ToGMT(arg2
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 wxDateTime
* resultptr
;
18832 resultptr
= new wxDateTime((wxDateTime
&) result
);
18833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18841 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18844 bool arg2
= (bool) False
;
18845 wxDateTime
*result
;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self",(char *) "noDST", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 arg2
= (bool) SWIG_AsBool(obj1
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18863 result
= (wxDateTime
*) &_result_ref
;
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18876 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18879 int arg2
= (int) wxDateTime::Country_Default
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "country", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_FromInt((int)result
);
18908 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18936 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18962 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18965 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18966 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18968 bool temp2
= False
;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "tz", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= SWIG_FromInt((int)result
);
18993 if (temp2
) delete arg2
;
18998 if (temp2
) delete arg2
;
19004 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19007 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19008 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19010 bool temp2
= False
;
19011 PyObject
* obj0
= 0 ;
19012 PyObject
* obj1
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self",(char *) "tz", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_FromInt((int)result
);
19035 if (temp2
) delete arg2
;
19040 if (temp2
) delete arg2
;
19046 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19049 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19050 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19052 bool temp2
= False
;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self",(char *) "tz", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19064 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 resultobj
= SWIG_FromInt((int)result
);
19077 if (temp2
) delete arg2
;
19082 if (temp2
) delete arg2
;
19088 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19091 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19092 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19094 bool temp2
= False
;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "tz", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19106 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= SWIG_FromInt((int)result
);
19119 if (temp2
) delete arg2
;
19124 if (temp2
) delete arg2
;
19130 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19133 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19134 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19136 bool temp2
= False
;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self",(char *) "tz", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_FromInt((int)result
);
19161 if (temp2
) delete arg2
;
19166 if (temp2
) delete arg2
;
19172 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19175 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19176 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19178 bool temp2
= False
;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self",(char *) "tz", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19190 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_FromInt((int)result
);
19203 if (temp2
) delete arg2
;
19208 if (temp2
) delete arg2
;
19214 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19217 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19218 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19220 bool temp2
= False
;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "tz", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= SWIG_FromInt((int)result
);
19245 if (temp2
) delete arg2
;
19250 if (temp2
) delete arg2
;
19256 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19259 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19260 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19262 bool temp2
= False
;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "tz", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19274 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_FromInt((int)result
);
19287 if (temp2
) delete arg2
;
19292 if (temp2
) delete arg2
;
19298 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19301 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19302 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19304 bool temp2
= False
;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self",(char *) "tz", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19316 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_FromInt((int)result
);
19329 if (temp2
) delete arg2
;
19334 if (temp2
) delete arg2
;
19340 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19343 int arg2
= (int) wxDateTime::Monday_First
;
19344 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19345 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19347 bool temp3
= False
;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 PyObject
* obj2
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "flags",(char *) "tz", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19359 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19364 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= SWIG_FromInt((int)result
);
19377 if (temp3
) delete arg3
;
19382 if (temp3
) delete arg3
;
19388 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19391 int arg2
= (int) wxDateTime::Monday_First
;
19392 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19393 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19395 bool temp3
= False
;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 PyObject
* obj2
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "flags",(char *) "tz", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19407 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19412 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_FromInt((int)result
);
19425 if (temp3
) delete arg3
;
19430 if (temp3
) delete arg3
;
19436 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19439 int arg2
= (int) wxDateTime::Country_Default
;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self",(char *) "country", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19470 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19473 wxDateTime
*arg2
= 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "datetime", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19487 if (arg2
== NULL
) {
19488 PyErr_SetString(PyExc_TypeError
,"null reference");
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19507 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19510 wxDateTime
*arg2
= 0 ;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self",(char *) "datetime", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19524 if (arg2
== NULL
) {
19525 PyErr_SetString(PyExc_TypeError
,"null reference");
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19544 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19547 wxDateTime
*arg2
= 0 ;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self",(char *) "datetime", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19561 if (arg2
== NULL
) {
19562 PyErr_SetString(PyExc_TypeError
,"null reference");
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19581 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19584 wxDateTime
*arg2
= 0 ;
19585 wxDateTime
*arg3
= 0 ;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 PyObject
* obj2
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self",(char *) "t1",(char *) "t2", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19600 if (arg2
== NULL
) {
19601 PyErr_SetString(PyExc_TypeError
,"null reference");
19604 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19607 if (arg3
== NULL
) {
19608 PyErr_SetString(PyExc_TypeError
,"null reference");
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19627 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19630 wxDateTime
*arg2
= 0 ;
19631 wxDateTime
*arg3
= 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 PyObject
* obj2
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self",(char *) "t1",(char *) "t2", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19646 if (arg2
== NULL
) {
19647 PyErr_SetString(PyExc_TypeError
,"null reference");
19650 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19653 if (arg3
== NULL
) {
19654 PyErr_SetString(PyExc_TypeError
,"null reference");
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19673 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19676 wxDateTime
*arg2
= 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "dt", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19690 if (arg2
== NULL
) {
19691 PyErr_SetString(PyExc_TypeError
,"null reference");
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19710 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19713 wxDateTime
*arg2
= 0 ;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self",(char *) "dt", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19727 if (arg2
== NULL
) {
19728 PyErr_SetString(PyExc_TypeError
,"null reference");
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19733 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19747 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19750 wxDateTime
*arg2
= 0 ;
19751 wxTimeSpan
*arg3
= 0 ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 PyObject
* obj2
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self",(char *) "dt",(char *) "ts", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19766 if (arg2
== NULL
) {
19767 PyErr_SetString(PyExc_TypeError
,"null reference");
19770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19773 if (arg3
== NULL
) {
19774 PyErr_SetString(PyExc_TypeError
,"null reference");
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19793 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19796 wxTimeSpan
*arg2
= 0 ;
19797 wxDateTime
*result
;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self",(char *) "diff", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19810 if (arg2
== NULL
) {
19811 PyErr_SetString(PyExc_TypeError
,"null reference");
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19818 result
= (wxDateTime
*) &_result_ref
;
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19831 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19834 wxDateSpan
*arg2
= 0 ;
19835 wxDateTime
*result
;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "diff", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19848 if (arg2
== NULL
) {
19849 PyErr_SetString(PyExc_TypeError
,"null reference");
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19856 result
= (wxDateTime
*) &_result_ref
;
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19869 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19872 wxTimeSpan
*arg2
= 0 ;
19873 wxDateTime
*result
;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "diff", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19886 if (arg2
== NULL
) {
19887 PyErr_SetString(PyExc_TypeError
,"null reference");
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19894 result
= (wxDateTime
*) &_result_ref
;
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19907 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19910 wxDateSpan
*arg2
= 0 ;
19911 wxDateTime
*result
;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "diff", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&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
)->Subtract((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_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19948 wxDateTime
*arg2
= 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "dt", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19962 if (arg2
== NULL
) {
19963 PyErr_SetString(PyExc_TypeError
,"null reference");
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 wxTimeSpan
* resultptr
;
19975 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19984 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19985 PyObject
*resultobj
;
19986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19987 wxTimeSpan
*arg2
= 0 ;
19988 wxDateTime
*result
;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19992 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19998 if (arg2
== NULL
) {
19999 PyErr_SetString(PyExc_TypeError
,"null reference");
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20006 result
= (wxDateTime
*) &_result_ref
;
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20019 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20020 PyObject
*resultobj
;
20021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20022 wxDateSpan
*arg2
= 0 ;
20023 wxDateTime
*result
;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20027 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20033 if (arg2
== NULL
) {
20034 PyErr_SetString(PyExc_TypeError
,"null reference");
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20041 result
= (wxDateTime
*) &_result_ref
;
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20054 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20059 argc
= PyObject_Length(args
);
20060 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20061 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20067 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20077 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20085 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20103 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20111 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20116 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20121 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20122 PyObject
*resultobj
;
20123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20124 wxTimeSpan
*arg2
= 0 ;
20125 wxDateTime
*result
;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20129 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20135 if (arg2
== NULL
) {
20136 PyErr_SetString(PyExc_TypeError
,"null reference");
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20143 result
= (wxDateTime
*) &_result_ref
;
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20156 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20157 PyObject
*resultobj
;
20158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20159 wxDateSpan
*arg2
= 0 ;
20160 wxDateTime
*result
;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20164 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20170 if (arg2
== NULL
) {
20171 PyErr_SetString(PyExc_TypeError
,"null reference");
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20178 result
= (wxDateTime
*) &_result_ref
;
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20191 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20196 argc
= PyObject_Length(args
);
20197 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20198 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20204 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20214 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20222 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20230 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20240 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20248 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20253 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20258 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20259 PyObject
*resultobj
;
20260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20261 wxTimeSpan
*arg2
= 0 ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20266 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20272 if (arg2
== NULL
) {
20273 PyErr_SetString(PyExc_TypeError
,"null reference");
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20284 wxDateTime
* resultptr
;
20285 resultptr
= new wxDateTime((wxDateTime
&) result
);
20286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20294 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20295 PyObject
*resultobj
;
20296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20297 wxDateSpan
*arg2
= 0 ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20302 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20308 if (arg2
== NULL
) {
20309 PyErr_SetString(PyExc_TypeError
,"null reference");
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 wxDateTime
* resultptr
;
20321 resultptr
= new wxDateTime((wxDateTime
&) result
);
20322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20330 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20335 argc
= PyObject_Length(args
);
20336 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20337 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20343 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20353 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20361 return _wrap_DateTime___add____SWIG_0(self
,args
);
20369 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20379 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20387 return _wrap_DateTime___add____SWIG_1(self
,args
);
20392 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20397 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20398 PyObject
*resultobj
;
20399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20400 wxDateTime
*arg2
= 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20405 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20411 if (arg2
== NULL
) {
20412 PyErr_SetString(PyExc_TypeError
,"null reference");
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 wxTimeSpan
* resultptr
;
20424 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20433 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20434 PyObject
*resultobj
;
20435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20436 wxTimeSpan
*arg2
= 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20441 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&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_wxTimeSpan
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20447 if (arg2
== NULL
) {
20448 PyErr_SetString(PyExc_TypeError
,"null reference");
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 wxDateTime
* resultptr
;
20460 resultptr
= new wxDateTime((wxDateTime
&) result
);
20461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20469 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20470 PyObject
*resultobj
;
20471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20472 wxDateSpan
*arg2
= 0 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20477 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20483 if (arg2
== NULL
) {
20484 PyErr_SetString(PyExc_TypeError
,"null reference");
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20495 wxDateTime
* resultptr
;
20496 resultptr
= new wxDateTime((wxDateTime
&) result
);
20497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20505 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20510 argc
= PyObject_Length(args
);
20511 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20512 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20518 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20528 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20536 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20544 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20554 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20562 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20570 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20580 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20588 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20593 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20598 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20599 PyObject
*resultobj
;
20600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20601 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 PyObject
* obj1
= 0 ;
20606 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20628 PyObject
*resultobj
;
20629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20630 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20635 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20656 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20657 PyObject
*resultobj
;
20658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20659 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20664 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20685 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20686 PyObject
*resultobj
;
20687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20688 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20693 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20714 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20715 PyObject
*resultobj
;
20716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20717 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20722 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20743 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20744 PyObject
*resultobj
;
20745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20746 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20751 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20772 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20775 wxString
*arg2
= 0 ;
20777 bool temp2
= False
;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "date", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 arg2
= wxString_in_helper(obj1
);
20789 if (arg2
== NULL
) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= SWIG_FromInt((int)result
);
20814 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20817 wxString
*arg2
= 0 ;
20818 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20820 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20821 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20823 bool temp2
= False
;
20824 bool temp3
= False
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 PyObject
* obj2
= 0 ;
20828 PyObject
* obj3
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20837 arg2
= wxString_in_helper(obj1
);
20838 if (arg2
== NULL
) SWIG_fail
;
20843 arg3
= wxString_in_helper(obj2
);
20844 if (arg3
== NULL
) SWIG_fail
;
20849 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20852 if (arg4
== NULL
) {
20853 PyErr_SetString(PyExc_TypeError
,"null reference");
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_FromInt((int)result
);
20887 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20890 wxString
*arg2
= 0 ;
20892 bool temp2
= False
;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "datetime", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20903 arg2
= wxString_in_helper(obj1
);
20904 if (arg2
== NULL
) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_FromInt((int)result
);
20929 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20932 wxString
*arg2
= 0 ;
20934 bool temp2
= False
;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self",(char *) "date", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20945 arg2
= wxString_in_helper(obj1
);
20946 if (arg2
== NULL
) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_FromInt((int)result
);
20971 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20974 wxString
*arg2
= 0 ;
20976 bool temp2
= False
;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self",(char *) "time", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 arg2
= wxString_in_helper(obj1
);
20988 if (arg2
== NULL
) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_FromInt((int)result
);
21013 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21016 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21017 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21018 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21019 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21021 bool temp2
= False
;
21022 bool temp3
= False
;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 PyObject
* obj2
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self",(char *) "format",(char *) "tz", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 arg2
= wxString_in_helper(obj1
);
21036 if (arg2
== NULL
) SWIG_fail
;
21042 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21065 if (temp3
) delete arg3
;
21074 if (temp3
) delete arg3
;
21080 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21112 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21144 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21176 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21208 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21211 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21213 return Py_BuildValue((char *)"");
21215 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21219 PyObject
* obj0
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "sec", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21225 arg1
= (long) SWIG_AsLong(obj0
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= wxTimeSpan::Seconds(arg1
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21235 wxTimeSpan
* resultptr
;
21236 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21245 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21248 char *kwnames
[] = {
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= wxTimeSpan::Second();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 wxTimeSpan
* resultptr
;
21262 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21271 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21275 PyObject
* obj0
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "min", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21281 arg1
= (long) SWIG_AsLong(obj0
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= wxTimeSpan::Minutes(arg1
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21291 wxTimeSpan
* resultptr
;
21292 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21301 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21304 char *kwnames
[] = {
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= wxTimeSpan::Minute();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 wxTimeSpan
* resultptr
;
21318 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21327 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21331 PyObject
* obj0
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "hours", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21337 arg1
= (long) SWIG_AsLong(obj0
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= wxTimeSpan::Hours(arg1
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 wxTimeSpan
* resultptr
;
21348 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21357 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21360 char *kwnames
[] = {
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= wxTimeSpan::Hour();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 wxTimeSpan
* resultptr
;
21374 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21383 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "days", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21393 arg1
= (long) SWIG_AsLong(obj0
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= wxTimeSpan::Days(arg1
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 wxTimeSpan
* resultptr
;
21404 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21413 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21416 char *kwnames
[] = {
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= wxTimeSpan::Day();
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21429 wxTimeSpan
* resultptr
;
21430 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21439 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21443 PyObject
* obj0
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "days", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21449 arg1
= (long) SWIG_AsLong(obj0
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 result
= wxTimeSpan::Weeks(arg1
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21459 wxTimeSpan
* resultptr
;
21460 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21469 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21472 char *kwnames
[] = {
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= wxTimeSpan::Week();
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 wxTimeSpan
* resultptr
;
21486 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21495 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 long arg1
= (long) 0 ;
21498 long arg2
= (long) 0 ;
21499 long arg3
= (long) 0 ;
21500 long arg4
= (long) 0 ;
21501 wxTimeSpan
*result
;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 PyObject
* obj2
= 0 ;
21505 PyObject
* obj3
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21512 arg1
= (long) SWIG_AsLong(obj0
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 arg2
= (long) SWIG_AsLong(obj1
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 arg3
= (long) SWIG_AsLong(obj2
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21524 arg4
= (long) SWIG_AsLong(obj3
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21541 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 Py_INCREF(Py_None
); resultobj
= Py_None
;
21566 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21569 wxTimeSpan
*arg2
= 0 ;
21570 wxTimeSpan
*result
;
21571 PyObject
* obj0
= 0 ;
21572 PyObject
* obj1
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "diff", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21583 if (arg2
== NULL
) {
21584 PyErr_SetString(PyExc_TypeError
,"null reference");
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21591 result
= (wxTimeSpan
*) &_result_ref
;
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21604 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21607 wxTimeSpan
*arg2
= 0 ;
21608 wxTimeSpan
*result
;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "diff", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21621 if (arg2
== NULL
) {
21622 PyErr_SetString(PyExc_TypeError
,"null reference");
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21629 result
= (wxTimeSpan
*) &_result_ref
;
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21642 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21646 wxTimeSpan
*result
;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "n", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 arg2
= (int) SWIG_AsInt(obj1
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21662 result
= (wxTimeSpan
*) &_result_ref
;
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21675 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21678 wxTimeSpan
*result
;
21679 PyObject
* obj0
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21691 result
= (wxTimeSpan
*) &_result_ref
;
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21704 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 wxTimeSpan
* resultptr
;
21725 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21734 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21737 wxTimeSpan
*arg2
= 0 ;
21738 wxTimeSpan
*result
;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self",(char *) "diff", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21751 if (arg2
== NULL
) {
21752 PyErr_SetString(PyExc_TypeError
,"null reference");
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21759 result
= (wxTimeSpan
*) &_result_ref
;
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21772 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21775 wxTimeSpan
*arg2
= 0 ;
21776 wxTimeSpan
*result
;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self",(char *) "diff", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21789 if (arg2
== NULL
) {
21790 PyErr_SetString(PyExc_TypeError
,"null reference");
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21797 result
= (wxTimeSpan
*) &_result_ref
;
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21810 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21814 wxTimeSpan
*result
;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self",(char *) "n", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 arg2
= (int) SWIG_AsInt(obj1
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21830 result
= (wxTimeSpan
*) &_result_ref
;
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21843 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21846 wxTimeSpan
*result
;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21859 result
= (wxTimeSpan
*) &_result_ref
;
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21872 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21875 wxTimeSpan
*arg2
= 0 ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "other", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21889 if (arg2
== NULL
) {
21890 PyErr_SetString(PyExc_TypeError
,"null reference");
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 wxTimeSpan
* resultptr
;
21902 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21911 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21914 wxTimeSpan
*arg2
= 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "other", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21928 if (arg2
== NULL
) {
21929 PyErr_SetString(PyExc_TypeError
,"null reference");
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21940 wxTimeSpan
* resultptr
;
21941 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21950 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "n", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 arg2
= (int) SWIG_AsInt(obj1
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= wxTimeSpan___mul__(arg1
,arg2
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 wxTimeSpan
* resultptr
;
21975 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21984 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "n", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 arg2
= (int) SWIG_AsInt(obj1
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 wxTimeSpan
* resultptr
;
22009 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22018 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22021 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "other", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",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) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22050 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22053 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "other", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22082 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22085 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "other", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22114 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22117 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "other", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22146 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22149 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "other", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22181 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "other", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22210 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22214 PyObject
* obj0
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22238 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22242 PyObject
* obj0
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22266 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22294 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22297 wxTimeSpan
*arg2
= 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "ts", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22311 if (arg2
== NULL
) {
22312 PyErr_SetString(PyExc_TypeError
,"null reference");
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22331 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22334 wxTimeSpan
*arg2
= 0 ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "ts", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22348 if (arg2
== NULL
) {
22349 PyErr_SetString(PyExc_TypeError
,"null reference");
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22368 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22371 wxTimeSpan
*arg2
= 0 ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "t", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22385 if (arg2
== NULL
) {
22386 PyErr_SetString(PyExc_TypeError
,"null reference");
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22405 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_FromInt((int)result
);
22431 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_FromInt((int)result
);
22457 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_FromInt((int)result
);
22483 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_FromInt((int)result
);
22509 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22530 hi
= PyLong_FromLong( (&result
)->GetHi() );
22531 lo
= PyLong_FromLong( (&result
)->GetLo() );
22532 shifter
= PyLong_FromLong(32);
22533 shifted
= PyNumber_Lshift(hi
, shifter
);
22534 resultobj
= PyNumber_Or(shifted
, lo
);
22537 Py_DECREF(shifter
);
22538 Py_DECREF(shifted
);
22546 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22566 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22567 hi
= PyLong_FromLong( (&result
)->GetHi() );
22568 lo
= PyLong_FromLong( (&result
)->GetLo() );
22569 shifter
= PyLong_FromLong(32);
22570 shifted
= PyNumber_Lshift(hi
, shifter
);
22571 resultobj
= PyNumber_Or(shifted
, lo
);
22574 Py_DECREF(shifter
);
22575 Py_DECREF(shifted
);
22583 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22586 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22587 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22589 bool temp2
= False
;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "format", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 arg2
= wxString_in_helper(obj1
);
22602 if (arg2
== NULL
) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22634 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22637 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22639 return Py_BuildValue((char *)"");
22641 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 int arg1
= (int) 0 ;
22644 int arg2
= (int) 0 ;
22645 int arg3
= (int) 0 ;
22646 int arg4
= (int) 0 ;
22647 wxDateSpan
*result
;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 PyObject
* obj2
= 0 ;
22651 PyObject
* obj3
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22658 arg1
= (int) SWIG_AsInt(obj0
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 arg2
= (int) SWIG_AsInt(obj1
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22666 arg3
= (int) SWIG_AsInt(obj2
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 arg4
= (int) SWIG_AsInt(obj3
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22687 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 Py_INCREF(Py_None
); resultobj
= Py_None
;
22712 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "days", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22722 arg1
= (int) SWIG_AsInt(obj0
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= wxDateSpan::Days(arg1
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 wxDateSpan
* resultptr
;
22733 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22742 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22745 char *kwnames
[] = {
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= wxDateSpan::Day();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 wxDateSpan
* resultptr
;
22759 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22768 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "weeks", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22778 arg1
= (int) SWIG_AsInt(obj0
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= wxDateSpan::Weeks(arg1
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 wxDateSpan
* resultptr
;
22789 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22798 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22801 char *kwnames
[] = {
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= wxDateSpan::Week();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 wxDateSpan
* resultptr
;
22815 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22824 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22828 PyObject
* obj0
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "mon", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22834 arg1
= (int) SWIG_AsInt(obj0
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 result
= wxDateSpan::Months(arg1
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22844 wxDateSpan
* resultptr
;
22845 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22854 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22857 char *kwnames
[] = {
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= wxDateSpan::Month();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 wxDateSpan
* resultptr
;
22871 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22880 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "years", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22890 arg1
= (int) SWIG_AsInt(obj0
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= wxDateSpan::Years(arg1
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22900 wxDateSpan
* resultptr
;
22901 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22910 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22913 char *kwnames
[] = {
22917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= wxDateSpan::Year();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22926 wxDateSpan
* resultptr
;
22927 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22936 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22938 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22940 wxDateSpan
*result
;
22941 PyObject
* obj0
= 0 ;
22942 PyObject
* obj1
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self",(char *) "n", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 arg2
= (int) SWIG_AsInt(obj1
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22956 result
= (wxDateSpan
*) &_result_ref
;
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22969 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22973 wxDateSpan
*result
;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self",(char *) "n", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22983 arg2
= (int) SWIG_AsInt(obj1
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22989 result
= (wxDateSpan
*) &_result_ref
;
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23002 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23006 wxDateSpan
*result
;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "n", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 arg2
= (int) SWIG_AsInt(obj1
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23022 result
= (wxDateSpan
*) &_result_ref
;
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23035 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23039 wxDateSpan
*result
;
23040 PyObject
* obj0
= 0 ;
23041 PyObject
* obj1
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self",(char *) "n", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23049 arg2
= (int) SWIG_AsInt(obj1
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23055 result
= (wxDateSpan
*) &_result_ref
;
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23068 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_FromInt((int)result
);
23094 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_FromInt((int)result
);
23120 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_FromInt((int)result
);
23146 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_FromInt((int)result
);
23172 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= SWIG_FromInt((int)result
);
23198 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23200 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23201 wxDateSpan
*arg2
= 0 ;
23202 wxDateSpan
*result
;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "other", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23215 if (arg2
== NULL
) {
23216 PyErr_SetString(PyExc_TypeError
,"null reference");
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23223 result
= (wxDateSpan
*) &_result_ref
;
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23236 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23239 wxDateSpan
*arg2
= 0 ;
23240 wxDateSpan
*result
;
23241 PyObject
* obj0
= 0 ;
23242 PyObject
* obj1
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self",(char *) "other", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23253 if (arg2
== NULL
) {
23254 PyErr_SetString(PyExc_TypeError
,"null reference");
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23261 result
= (wxDateSpan
*) &_result_ref
;
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23274 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23277 wxDateSpan
*result
;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23290 result
= (wxDateSpan
*) &_result_ref
;
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23303 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23307 wxDateSpan
*result
;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "factor", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 arg2
= (int) SWIG_AsInt(obj1
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23323 result
= (wxDateSpan
*) &_result_ref
;
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23336 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23339 wxDateSpan
*arg2
= 0 ;
23340 wxDateSpan
*result
;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "other", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23353 if (arg2
== NULL
) {
23354 PyErr_SetString(PyExc_TypeError
,"null reference");
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23361 result
= (wxDateSpan
*) &_result_ref
;
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23374 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23377 wxDateSpan
*arg2
= 0 ;
23378 wxDateSpan
*result
;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "other", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23391 if (arg2
== NULL
) {
23392 PyErr_SetString(PyExc_TypeError
,"null reference");
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23399 result
= (wxDateSpan
*) &_result_ref
;
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23412 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23415 wxDateSpan
*result
;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23428 result
= (wxDateSpan
*) &_result_ref
;
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23441 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23445 wxDateSpan
*result
;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self",(char *) "factor", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23455 arg2
= (int) SWIG_AsInt(obj1
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23461 result
= (wxDateSpan
*) &_result_ref
;
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23474 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23477 wxDateSpan
*arg2
= 0 ;
23479 PyObject
* obj0
= 0 ;
23480 PyObject
* obj1
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self",(char *) "other", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23491 if (arg2
== NULL
) {
23492 PyErr_SetString(PyExc_TypeError
,"null reference");
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 wxDateSpan
* resultptr
;
23504 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23513 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23516 wxDateSpan
*arg2
= 0 ;
23518 PyObject
* obj0
= 0 ;
23519 PyObject
* obj1
= 0 ;
23520 char *kwnames
[] = {
23521 (char *) "self",(char *) "other", NULL
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23530 if (arg2
== NULL
) {
23531 PyErr_SetString(PyExc_TypeError
,"null reference");
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23542 wxDateSpan
* resultptr
;
23543 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23552 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self",(char *) "n", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 arg2
= (int) SWIG_AsInt(obj1
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= wxDateSpan___mul__(arg1
,arg2
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 wxDateSpan
* resultptr
;
23577 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23586 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "n", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23600 arg2
= (int) SWIG_AsInt(obj1
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= wxDateSpan___rmul__(arg1
,arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 wxDateSpan
* resultptr
;
23611 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23620 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23623 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "other", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23652 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23655 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self",(char *) "other", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23684 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23687 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23689 return Py_BuildValue((char *)"");
23691 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23694 char *kwnames
[] = {
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (long)wxGetLocalTime();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_FromLong((long)result
);
23713 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23716 char *kwnames
[] = {
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (long)wxGetUTCTime();
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= SWIG_FromLong((long)result
);
23735 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23738 char *kwnames
[] = {
23742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (long)wxGetCurrentTime();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_FromLong((long)result
);
23757 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23760 char *kwnames
[] = {
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= wxGetLocalTimeMillis();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23774 hi
= PyLong_FromLong( (&result
)->GetHi() );
23775 lo
= PyLong_FromLong( (&result
)->GetLo() );
23776 shifter
= PyLong_FromLong(32);
23777 shifted
= PyNumber_Lshift(hi
, shifter
);
23778 resultobj
= PyNumber_Or(shifted
, lo
);
23781 Py_DECREF(shifter
);
23782 Py_DECREF(shifted
);
23790 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23791 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23796 static PyObject
*_wrap_DefaultDateTime_get() {
23799 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23804 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23807 wxDataFormat
*result
;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "type", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23814 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23830 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxString
*arg1
= 0 ;
23833 wxDataFormat
*result
;
23834 bool temp1
= False
;
23835 PyObject
* obj0
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "format", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23842 arg1
= wxString_in_helper(obj0
);
23843 if (arg1
== NULL
) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23868 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23894 PyObject
*resultobj
;
23895 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23901 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23904 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23922 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23923 PyObject
*resultobj
;
23924 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23930 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23951 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23952 PyObject
*resultobj
;
23953 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23954 wxDataFormat
*arg2
= 0 ;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23959 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23965 if (arg2
== NULL
) {
23966 PyErr_SetString(PyExc_TypeError
,"null reference");
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23985 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23990 argc
= PyObject_Length(args
);
23991 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23992 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23998 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24008 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24016 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24024 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24032 _v
= SWIG_CheckInt(argv
[1]);
24034 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24039 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24044 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24045 PyObject
*resultobj
;
24046 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24047 wxDataFormat
*arg2
= 0 ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24052 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24058 if (arg2
== NULL
) {
24059 PyErr_SetString(PyExc_TypeError
,"null reference");
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24078 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24083 argc
= PyObject_Length(args
);
24084 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24085 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24091 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24101 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24109 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24117 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24125 _v
= SWIG_CheckInt(argv
[1]);
24127 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24132 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24137 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self",(char *) "format", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24150 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 (arg1
)->SetType((wxDataFormatId
)arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 Py_INCREF(Py_None
); resultobj
= Py_None
;
24166 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_FromInt((int)result
);
24192 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
;
24194 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= ((wxDataFormat
const *)arg1
)->GetId();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24224 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24227 wxString
*arg2
= 0 ;
24228 bool temp2
= False
;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "format", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 arg2
= wxString_in_helper(obj1
);
24240 if (arg2
== NULL
) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 (arg1
)->SetId((wxString
const &)*arg2
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 Py_INCREF(Py_None
); resultobj
= Py_None
;
24265 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24268 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24270 return Py_BuildValue((char *)"");
24272 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24273 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24278 static PyObject
*_wrap_FormatInvalid_get() {
24281 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24286 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24314 int arg2
= (int) wxDataObject::Get
;
24315 SwigValueWrapper
< wxDataFormat
> result
;
24316 PyObject
* obj0
= 0 ;
24317 PyObject
* obj1
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self",(char *) "dir", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24337 wxDataFormat
* resultptr
;
24338 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24347 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
;
24349 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24350 int arg2
= (int) wxDataObject::Get
;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 char *kwnames
[] = {
24355 (char *) "self",(char *) "dir", NULL
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24362 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24379 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24382 wxDataFormat
*arg2
= 0 ;
24383 int arg3
= (int) wxDataObject::Get
;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 PyObject
* obj2
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self",(char *) "format",(char *) "dir", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24398 if (arg2
== NULL
) {
24399 PyErr_SetString(PyExc_TypeError
,"null reference");
24403 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24422 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24425 wxDataFormat
*arg2
= 0 ;
24427 PyObject
* obj0
= 0 ;
24428 PyObject
* obj1
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self",(char *) "format", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24439 if (arg2
== NULL
) {
24440 PyErr_SetString(PyExc_TypeError
,"null reference");
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24457 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24460 int arg2
= (int) wxDataObject::Get
;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self",(char *) "dir", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= result
;
24489 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24492 wxDataFormat
*arg2
= 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self",(char *) "format", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24506 if (arg2
== NULL
) {
24507 PyErr_SetString(PyExc_TypeError
,"null reference");
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= result
;
24524 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24527 wxDataFormat
*arg2
= 0 ;
24528 PyObject
*arg3
= (PyObject
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 PyObject
* obj2
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self",(char *) "format",(char *) "data", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24543 if (arg2
== NULL
) {
24544 PyErr_SetString(PyExc_TypeError
,"null reference");
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24564 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24567 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24569 return Py_BuildValue((char *)"");
24571 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24574 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24575 wxDataObjectSimple
*result
;
24576 PyObject
* obj0
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "format", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24586 if (arg1
== NULL
) {
24587 PyErr_SetString(PyExc_TypeError
,"null reference");
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24605 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24608 wxDataFormat
*result
;
24609 PyObject
* obj0
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24621 result
= (wxDataFormat
*) &_result_ref
;
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24634 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24637 wxDataFormat
*arg2
= 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "format", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24650 if (arg2
== NULL
) {
24651 PyErr_SetString(PyExc_TypeError
,"null reference");
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 Py_INCREF(Py_None
); resultobj
= Py_None
;
24668 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24672 PyObject
* obj0
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24694 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= result
;
24720 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24723 PyObject
*arg2
= (PyObject
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "data", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24751 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24754 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24756 return Py_BuildValue((char *)"");
24758 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24761 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24762 wxPyDataObjectSimple
*result
;
24763 PyObject
* obj0
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "format", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24773 if (arg1
== NULL
) {
24774 PyErr_SetString(PyExc_TypeError
,"null reference");
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24792 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24795 PyObject
*arg2
= (PyObject
*) 0 ;
24796 PyObject
*arg3
= (PyObject
*) 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 PyObject
* obj2
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "self",(char *) "_class", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 Py_INCREF(Py_None
); resultobj
= Py_None
;
24823 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24826 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24828 return Py_BuildValue((char *)"");
24830 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxDataObjectComposite
*result
;
24833 char *kwnames
[] = {
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24852 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24855 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24856 bool arg3
= (bool) False
;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 PyObject
* obj2
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24868 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24870 arg3
= (bool) SWIG_AsBool(obj2
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->Add(arg2
,arg3
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24890 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24892 return Py_BuildValue((char *)"");
24894 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24897 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24898 wxTextDataObject
*result
;
24899 bool temp1
= False
;
24900 PyObject
* obj0
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "text", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24908 arg1
= wxString_in_helper(obj0
);
24909 if (arg1
== NULL
) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24935 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24939 PyObject
* obj0
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "self", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (size_t)(arg1
)->GetTextLength();
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24961 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24965 PyObject
* obj0
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (arg1
)->GetText();
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24993 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24996 wxString
*arg2
= 0 ;
24997 bool temp2
= False
;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "text", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 arg2
= wxString_in_helper(obj1
);
25009 if (arg2
== NULL
) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 (arg1
)->SetText((wxString
const &)*arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 Py_INCREF(Py_None
); resultobj
= Py_None
;
25034 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25037 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25039 return Py_BuildValue((char *)"");
25041 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25044 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25045 wxPyTextDataObject
*result
;
25046 bool temp1
= False
;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "text", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25055 arg1
= wxString_in_helper(obj0
);
25056 if (arg1
== NULL
) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25082 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25085 PyObject
*arg2
= (PyObject
*) 0 ;
25086 PyObject
*arg3
= (PyObject
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 PyObject
* obj2
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "self",(char *) "_class", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25116 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25118 return Py_BuildValue((char *)"");
25120 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25123 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25124 wxBitmapDataObject
*result
;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "bitmap", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25135 if (arg1
== NULL
) {
25136 PyErr_SetString(PyExc_TypeError
,"null reference");
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25154 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
;
25156 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25158 PyObject
* obj0
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "self", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25174 wxBitmap
* resultptr
;
25175 resultptr
= new wxBitmap((wxBitmap
&) result
);
25176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25184 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25187 wxBitmap
*arg2
= 0 ;
25188 PyObject
* obj0
= 0 ;
25189 PyObject
* obj1
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self",(char *) "bitmap", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25200 if (arg2
== NULL
) {
25201 PyErr_SetString(PyExc_TypeError
,"null reference");
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 Py_INCREF(Py_None
); resultobj
= Py_None
;
25218 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25221 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25223 return Py_BuildValue((char *)"");
25225 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25228 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25229 wxPyBitmapDataObject
*result
;
25230 PyObject
* obj0
= 0 ;
25231 char *kwnames
[] = {
25232 (char *) "bitmap", NULL
25235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25240 if (arg1
== NULL
) {
25241 PyErr_SetString(PyExc_TypeError
,"null reference");
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25259 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
;
25261 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25262 PyObject
*arg2
= (PyObject
*) 0 ;
25263 PyObject
*arg3
= (PyObject
*) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 PyObject
* obj1
= 0 ;
25266 PyObject
* obj2
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "self",(char *) "_class", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 Py_INCREF(Py_None
); resultobj
= Py_None
;
25290 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25293 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25295 return Py_BuildValue((char *)"");
25297 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxFileDataObject
*result
;
25300 char *kwnames
[] = {
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (wxFileDataObject
*)new wxFileDataObject();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25319 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25322 wxArrayString
*result
;
25323 PyObject
* obj0
= 0 ;
25324 char *kwnames
[] = {
25325 (char *) "self", NULL
25328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25335 result
= (wxArrayString
*) &_result_ref
;
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= wxArrayString2PyList_helper(*result
);
25350 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25352 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25353 wxString
*arg2
= 0 ;
25354 bool temp2
= False
;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self",(char *) "filename", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25365 arg2
= wxString_in_helper(obj1
);
25366 if (arg2
== NULL
) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->AddFile((wxString
const &)*arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25391 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25394 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25396 return Py_BuildValue((char *)"");
25398 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25401 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25402 wxCustomDataObject
*result
;
25403 PyObject
* obj0
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "format", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25413 if (arg1
== NULL
) {
25414 PyErr_SetString(PyExc_TypeError
,"null reference");
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25432 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25435 PyObject
*arg2
= (PyObject
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "data", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25463 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "self", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (size_t)(arg1
)->GetSize();
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25489 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25493 PyObject
* obj0
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= result
;
25515 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25518 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25520 return Py_BuildValue((char *)"");
25522 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxURLDataObject
*result
;
25525 char *kwnames
[] = {
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (wxURLDataObject
*)new wxURLDataObject();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25544 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (arg1
)->GetURL();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25576 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25579 wxString
*arg2
= 0 ;
25580 bool temp2
= False
;
25581 PyObject
* obj0
= 0 ;
25582 PyObject
* obj1
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "self",(char *) "url", NULL
25587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25591 arg2
= wxString_in_helper(obj1
);
25592 if (arg2
== NULL
) SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 (arg1
)->SetURL((wxString
const &)*arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 Py_INCREF(Py_None
); resultobj
= Py_None
;
25617 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25620 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25622 return Py_BuildValue((char *)"");
25624 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxMetafileDataObject
*result
;
25627 char *kwnames
[] = {
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25646 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25649 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25651 return Py_BuildValue((char *)"");
25653 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
;
25657 PyObject
* obj0
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "res", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25663 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25681 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxWindow
*arg1
= (wxWindow
*) 0 ;
25684 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25685 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25686 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25687 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25688 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25689 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25690 wxPyDropSource
*result
;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 PyObject
* obj2
= 0 ;
25694 PyObject
* obj3
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25706 if (arg2
== NULL
) {
25707 PyErr_SetString(PyExc_TypeError
,"null reference");
25712 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25715 if (arg3
== NULL
) {
25716 PyErr_SetString(PyExc_TypeError
,"null reference");
25721 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25724 if (arg4
== NULL
) {
25725 PyErr_SetString(PyExc_TypeError
,"null reference");
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25743 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25746 PyObject
*arg2
= (PyObject
*) 0 ;
25747 PyObject
*arg3
= (PyObject
*) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 PyObject
* obj2
= 0 ;
25752 PyObject
* obj3
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25762 arg4
= (int) SWIG_AsInt(obj3
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 Py_INCREF(Py_None
); resultobj
= Py_None
;
25778 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25781 PyObject
* obj0
= 0 ;
25782 char *kwnames
[] = {
25783 (char *) "self", NULL
25786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 Py_INCREF(Py_None
); resultobj
= Py_None
;
25803 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25806 wxDataObject
*arg2
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "data", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25819 if (arg2
== NULL
) {
25820 PyErr_SetString(PyExc_TypeError
,"null reference");
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 (arg1
)->SetData(*arg2
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 Py_INCREF(Py_None
); resultobj
= Py_None
;
25837 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25840 wxDataObject
*result
;
25841 PyObject
* obj0
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25863 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
;
25865 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25867 wxCursor
*arg3
= 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 PyObject
* obj2
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "res",(char *) "cursor", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25880 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25883 if (arg3
== NULL
) {
25884 PyErr_SetString(PyExc_TypeError
,"null reference");
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 Py_INCREF(Py_None
); resultobj
= Py_None
;
25901 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25904 int arg2
= (int) wxDrag_CopyOnly
;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "self",(char *) "flags", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25916 arg2
= (int) SWIG_AsInt(obj1
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (int)(arg1
)->DoDragDrop(arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_FromInt((int)result
);
25933 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
;
25935 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "effect", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25965 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25968 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25970 return Py_BuildValue((char *)"");
25972 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25975 wxPyDropTarget
*result
;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "dataObject", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25984 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26000 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26003 PyObject
*arg2
= (PyObject
*) 0 ;
26004 PyObject
*arg3
= (PyObject
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 PyObject
* obj2
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self",(char *) "self",(char *) "_class", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 Py_INCREF(Py_None
); resultobj
= Py_None
;
26031 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26034 PyObject
* obj0
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 Py_INCREF(Py_None
); resultobj
= Py_None
;
26056 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
;
26058 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26059 wxDataObject
*result
;
26060 PyObject
* obj0
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26082 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26085 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "dataObject", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26096 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26099 (arg1
)->SetDataObject(arg2
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 Py_INCREF(Py_None
); resultobj
= Py_None
;
26111 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
;
26113 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 PyObject
* obj2
= 0 ;
26121 PyObject
* obj3
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 arg2
= (int) SWIG_AsInt(obj1
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26131 arg3
= (int) SWIG_AsInt(obj2
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26133 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_FromInt((int)result
);
26149 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 PyObject
* obj2
= 0 ;
26159 PyObject
* obj3
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 arg2
= (int) SWIG_AsInt(obj1
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26169 arg3
= (int) SWIG_AsInt(obj2
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26171 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= SWIG_FromInt((int)result
);
26187 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->base_OnLeave();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 PyObject
* obj2
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "x",(char *) "y", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26228 arg2
= (int) SWIG_AsInt(obj1
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26230 arg3
= (int) SWIG_AsInt(obj2
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26248 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (bool)(arg1
)->GetData();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26276 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26279 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26281 return Py_BuildValue((char *)"");
26283 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxPyTextDropTarget
*result
;
26286 char *kwnames
[] = {
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26305 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26308 PyObject
*arg2
= (PyObject
*) 0 ;
26309 PyObject
*arg3
= (PyObject
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 PyObject
* obj2
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "self",(char *) "_class", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 PyObject
* obj2
= 0 ;
26346 PyObject
* obj3
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26354 arg2
= (int) SWIG_AsInt(obj1
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26356 arg3
= (int) SWIG_AsInt(obj2
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26358 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_FromInt((int)result
);
26374 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
;
26376 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 PyObject
* obj2
= 0 ;
26384 PyObject
* obj3
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 arg2
= (int) SWIG_AsInt(obj1
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26394 arg3
= (int) SWIG_AsInt(obj2
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26396 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_FromInt((int)result
);
26412 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->base_OnLeave();
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26437 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 PyObject
* obj2
= 0 ;
26446 char *kwnames
[] = {
26447 (char *) "self",(char *) "x",(char *) "y", NULL
26450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26453 arg2
= (int) SWIG_AsInt(obj1
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26455 arg3
= (int) SWIG_AsInt(obj2
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26473 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 PyObject
* obj1
= 0 ;
26482 PyObject
* obj2
= 0 ;
26483 PyObject
* obj3
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26491 arg2
= (int) SWIG_AsInt(obj1
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26493 arg3
= (int) SWIG_AsInt(obj2
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26495 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_FromInt((int)result
);
26511 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26514 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26516 return Py_BuildValue((char *)"");
26518 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyFileDropTarget
*result
;
26521 char *kwnames
[] = {
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26540 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26543 PyObject
*arg2
= (PyObject
*) 0 ;
26544 PyObject
*arg3
= (PyObject
*) 0 ;
26545 PyObject
* obj0
= 0 ;
26546 PyObject
* obj1
= 0 ;
26547 PyObject
* obj2
= 0 ;
26548 char *kwnames
[] = {
26549 (char *) "self",(char *) "self",(char *) "_class", NULL
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 Py_INCREF(Py_None
); resultobj
= Py_None
;
26571 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 PyObject
* obj2
= 0 ;
26581 PyObject
* obj3
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26589 arg2
= (int) SWIG_AsInt(obj1
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26591 arg3
= (int) SWIG_AsInt(obj2
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26593 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= SWIG_FromInt((int)result
);
26609 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 PyObject
* obj2
= 0 ;
26619 PyObject
* obj3
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26627 arg2
= (int) SWIG_AsInt(obj1
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26629 arg3
= (int) SWIG_AsInt(obj2
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26631 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= SWIG_FromInt((int)result
);
26647 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26648 PyObject
*resultobj
;
26649 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26650 PyObject
* obj0
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->base_OnLeave();
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 Py_INCREF(Py_None
); resultobj
= Py_None
;
26672 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
;
26674 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 PyObject
* obj2
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self",(char *) "x",(char *) "y", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26688 arg2
= (int) SWIG_AsInt(obj1
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26690 arg3
= (int) SWIG_AsInt(obj2
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26708 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 PyObject
* obj2
= 0 ;
26718 PyObject
* obj3
= 0 ;
26719 char *kwnames
[] = {
26720 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 arg2
= (int) SWIG_AsInt(obj1
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26728 arg3
= (int) SWIG_AsInt(obj2
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26730 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26731 if (PyErr_Occurred()) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_FromInt((int)result
);
26746 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26749 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26751 return Py_BuildValue((char *)"");
26753 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxClipboard
*result
;
26756 char *kwnames
[] = {
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (wxClipboard
*)new wxClipboard();
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26775 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 char *kwnames
[] = {
26806 (char *) "self", NULL
26809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (bool)(arg1
)->Open();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26828 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 Py_INCREF(Py_None
); resultobj
= Py_None
;
26853 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26857 PyObject
* obj0
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26881 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26884 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self",(char *) "data", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26896 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (bool)(arg1
)->AddData(arg2
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26913 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26916 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "data", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26928 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= (bool)(arg1
)->SetData(arg2
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26945 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26946 PyObject
*resultobj
;
26947 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26948 wxDataFormat
*arg2
= 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self",(char *) "format", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26962 if (arg2
== NULL
) {
26963 PyErr_SetString(PyExc_TypeError
,"null reference");
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26982 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26985 wxDataObject
*arg2
= 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self",(char *) "data", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26999 if (arg2
== NULL
) {
27000 PyErr_SetString(PyExc_TypeError
,"null reference");
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= (bool)(arg1
)->GetData(*arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27019 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27044 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (bool)(arg1
)->Flush();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27072 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27075 bool arg2
= (bool) True
;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "primary", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27086 arg2
= (bool) SWIG_AsBool(obj1
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 (arg1
)->UsePrimarySelection(arg2
);
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 Py_INCREF(Py_None
); resultobj
= Py_None
;
27103 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27106 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27108 return Py_BuildValue((char *)"");
27110 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27111 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27116 static PyObject
*_wrap_TheClipboard_get() {
27119 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27124 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27127 wxClipboardLocker
*result
;
27128 PyObject
* obj0
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "clipboard", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27152 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 Py_INCREF(Py_None
); resultobj
= Py_None
;
27177 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27205 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27208 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27210 return Py_BuildValue((char *)"");
27212 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 int arg1
= (int) 0 ;
27215 int arg2
= (int) 0 ;
27216 int arg3
= (int) 0 ;
27217 int arg4
= (int) 0 ;
27218 wxVideoMode
*result
;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 PyObject
* obj2
= 0 ;
27222 PyObject
* obj3
= 0 ;
27223 char *kwnames
[] = {
27224 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27229 arg1
= (int) SWIG_AsInt(obj0
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27233 arg2
= (int) SWIG_AsInt(obj1
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27237 arg3
= (int) SWIG_AsInt(obj2
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27241 arg4
= (int) SWIG_AsInt(obj3
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27258 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 char *kwnames
[] = {
27263 (char *) "self", NULL
27266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27286 wxVideoMode
*arg2
= 0 ;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "other", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27300 if (arg2
== NULL
) {
27301 PyErr_SetString(PyExc_TypeError
,"null reference");
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27320 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= SWIG_FromInt((int)result
);
27346 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27348 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_FromInt((int)result
);
27372 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
;
27374 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= SWIG_FromInt((int)result
);
27398 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27426 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27429 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self",(char *) "other", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27458 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27461 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27463 PyObject
* obj0
= 0 ;
27464 PyObject
* obj1
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self",(char *) "other", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27490 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self",(char *) "w", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 arg2
= (int) SWIG_AsInt(obj1
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27505 if (arg1
) (arg1
)->w
= arg2
;
27507 Py_INCREF(Py_None
); resultobj
= Py_None
;
27514 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 result
= (int) ((arg1
)->w
);
27528 resultobj
= SWIG_FromInt((int)result
);
27535 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj1
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self",(char *) "h", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 arg2
= (int) SWIG_AsInt(obj1
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27550 if (arg1
) (arg1
)->h
= arg2
;
27552 Py_INCREF(Py_None
); resultobj
= Py_None
;
27559 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27563 PyObject
* obj0
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "self", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27571 result
= (int) ((arg1
)->h
);
27573 resultobj
= SWIG_FromInt((int)result
);
27580 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
;
27582 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "bpp", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 arg2
= (int) SWIG_AsInt(obj1
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27595 if (arg1
) (arg1
)->bpp
= arg2
;
27597 Py_INCREF(Py_None
); resultobj
= Py_None
;
27604 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27616 result
= (int) ((arg1
)->bpp
);
27618 resultobj
= SWIG_FromInt((int)result
);
27625 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self",(char *) "refresh", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27638 arg2
= (int) SWIG_AsInt(obj1
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27640 if (arg1
) (arg1
)->refresh
= arg2
;
27642 Py_INCREF(Py_None
); resultobj
= Py_None
;
27649 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27653 PyObject
* obj0
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 result
= (int) ((arg1
)->refresh
);
27663 resultobj
= SWIG_FromInt((int)result
);
27670 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27673 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27675 return Py_BuildValue((char *)"");
27677 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27678 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27683 static PyObject
*_wrap_DefaultVideoMode_get() {
27686 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27691 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 size_t arg1
= (size_t) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "index", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27702 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 result
= (wxDisplay
*)new wxDisplay(arg1
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27719 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
;
27721 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 char *kwnames
[] = {
27724 (char *) "self", NULL
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 Py_INCREF(Py_None
); resultobj
= Py_None
;
27744 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27747 char *kwnames
[] = {
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (size_t)wxDisplay::GetCount();
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27766 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxPoint
*arg1
= 0 ;
27771 PyObject
* obj0
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "pt", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27779 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_FromInt((int)result
);
27795 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxWindow
*arg1
= (wxWindow
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "window", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 result
= (int)Display_GetFromWindow(arg1
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_FromInt((int)result
);
27821 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27849 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 wxRect
* resultptr
;
27870 resultptr
= new wxRect((wxRect
&) result
);
27871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27879 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27883 PyObject
* obj0
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "self", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 result
= ((wxDisplay
const *)arg1
)->GetName();
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27911 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27915 PyObject
* obj0
= 0 ;
27916 char *kwnames
[] = {
27917 (char *) "self", NULL
27920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27939 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27942 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27943 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "self",(char *) "mode", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27958 if (arg2
== NULL
) {
27959 PyErr_SetString(PyExc_TypeError
,"null reference");
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= result
;
27977 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27980 wxVideoMode result
;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 wxVideoMode
* resultptr
;
27998 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28007 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28010 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28011 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "self",(char *) "mode", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28026 if (arg2
== NULL
) {
28027 PyErr_SetString(PyExc_TypeError
,"null reference");
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28047 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 (arg1
)->ResetMode();
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 Py_INCREF(Py_None
); resultobj
= Py_None
;
28072 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28075 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28077 return Py_BuildValue((char *)"");
28079 static PyMethodDef SwigMethods
[] = {
28080 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28087 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28094 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28154 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28162 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28178 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28183 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28186 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28189 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28195 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28209 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28215 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28221 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28224 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28238 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28241 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28242 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28245 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28272 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28274 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28276 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28278 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28285 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28291 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28304 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28309 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28312 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28329 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28337 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28383 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28411 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28421 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28437 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28453 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28467 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28476 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28519 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28522 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28525 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28529 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28621 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28622 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28623 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28624 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28625 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28626 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28627 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28628 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28629 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28630 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28641 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28686 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28720 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28728 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28729 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28734 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28743 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28750 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28753 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28756 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28761 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28764 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28768 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28771 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28775 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28780 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28784 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28786 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28796 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28807 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28815 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28823 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28836 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28840 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28858 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28876 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28878 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28881 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28882 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28884 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28885 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28887 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28888 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28890 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28891 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28893 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28894 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28896 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28897 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28899 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28900 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28902 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28905 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28906 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28908 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28911 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28912 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28914 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28915 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28917 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28920 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28921 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28923 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28924 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28926 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28927 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28929 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28930 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28932 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28933 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28935 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28936 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28938 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28939 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28941 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28942 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28944 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28947 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28948 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28950 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28951 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28953 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28954 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28956 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28957 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28959 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28960 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28962 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28963 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28965 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28968 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28969 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28971 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28972 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28974 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28975 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28977 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28980 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28983 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28984 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28986 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28987 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28989 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28990 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28992 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28993 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28995 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28996 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28998 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28999 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29001 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29002 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29004 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29005 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29007 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29008 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29010 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29011 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29013 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29014 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29016 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29017 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29019 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29020 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29022 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29023 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29025 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29026 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29028 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29029 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29031 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29032 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29034 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29035 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29037 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29038 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29040 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29041 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29043 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29044 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29046 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29047 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29049 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29050 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29052 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29053 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29055 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29056 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29058 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29059 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29061 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29062 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29064 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29065 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29067 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29068 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29070 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29073 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29074 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29076 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29077 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29079 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29080 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29082 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29083 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29085 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29086 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29088 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29089 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29091 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29092 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29094 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29095 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29097 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29100 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29103 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29106 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29109 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29112 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29115 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29118 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) ((wxSizer
*) x
));
29121 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29124 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29127 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29130 static void *_p_wxEventTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) ((wxEvent
*) x
));
29133 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29136 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29139 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29142 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29145 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29148 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29151 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29154 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29157 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29160 static void *_p_wxControlTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29163 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29166 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29169 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29172 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29175 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29178 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29181 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29184 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29187 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29190 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29193 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29196 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29199 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29202 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29205 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29208 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29211 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29214 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29217 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29220 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29223 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29226 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29229 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29232 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29235 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29238 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29241 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29244 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29247 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29250 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29253 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29256 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29259 static void *_p_wxImageTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) ((wxImage
*) x
));
29262 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29265 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29268 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29271 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29274 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29277 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29280 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29283 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29286 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29289 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29292 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29295 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29298 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29301 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29304 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29307 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29310 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29313 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29316 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29319 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29322 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29325 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29328 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29331 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29334 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29337 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29340 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29343 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29346 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29347 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29349 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29350 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29352 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29353 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29355 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29356 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29358 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29359 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29361 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29362 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29364 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29365 return (void *)((wxWindow
*) ((wxControl
*) x
));
29367 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29368 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29370 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29371 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29373 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29374 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29376 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29377 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 static swig_type_info _swigt__p_wxDisplay
[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 static swig_type_info _swigt__p_wxVideoMode
[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29465 static swig_type_info
*swig_types_initial
[] = {
29466 _swigt__p_wxLogChain
,
29467 _swigt__p_wxMutexGuiLocker
,
29468 _swigt__p_wxFileHistory
,
29470 _swigt__p_wxDateTime__TimeZone
,
29473 _swigt__p_wxConfigBase
,
29474 _swigt__p_wxDisplay
,
29475 _swigt__p_wxFileType
,
29476 _swigt__p_wxLogGui
,
29478 _swigt__p_wxDataFormat
,
29479 _swigt__p_wxTimerEvent
,
29483 _swigt__p_wxClipboard
,
29484 _swigt__p_wxStopWatch
,
29486 _swigt__p_wxClipboardLocker
,
29488 _swigt__p_wxLogStderr
,
29489 _swigt__p_wxLogTextCtrl
,
29490 _swigt__p_wxTextCtrl
,
29491 _swigt__p_wxBusyCursor
,
29492 _swigt__p_wxPyBitmapDataObject
,
29493 _swigt__p_wxPyTextDataObject
,
29494 _swigt__p_wxBitmapDataObject
,
29495 _swigt__p_wxTextDataObject
,
29496 _swigt__p_wxDataObject
,
29497 _swigt__p_wxFileDataObject
,
29498 _swigt__p_wxCustomDataObject
,
29499 _swigt__p_wxURLDataObject
,
29500 _swigt__p_wxMetafileDataObject
,
29502 _swigt__p_wxTimerRunner
,
29503 _swigt__p_wxLogWindow
,
29504 _swigt__p_wxTimeSpan
,
29505 _swigt__p_wxArrayString
,
29506 _swigt__p_wxWindowDisabler
,
29507 _swigt__p_wxToolTip
,
29508 _swigt__p_wxDataObjectComposite
,
29509 _swigt__p_wxFileConfig
,
29510 _swigt__p_wxSystemSettings
,
29511 _swigt__p_wxVideoMode
,
29512 _swigt__p_wxPyDataObjectSimple
,
29513 _swigt__p_wxDataObjectSimple
,
29514 _swigt__p_wxEvtHandler
,
29517 _swigt__p_wxSingleInstanceChecker
,
29518 _swigt__p_wxFileTypeInfo
,
29521 _swigt__p_wxMimeTypesManager
,
29522 _swigt__p_wxPyArtProvider
,
29523 _swigt__p_wxPyTipProvider
,
29524 _swigt__p_wxTipProvider
,
29525 _swigt__p_wxJoystick
,
29526 _swigt__p_wxSystemOptions
,
29528 _swigt__p_wxJoystickEvent
,
29529 _swigt__p_wxCursor
,
29530 _swigt__p_wxObject
,
29531 _swigt__p_wxOutputStream
,
29532 _swigt__p_wxDateTime
,
29533 _swigt__p_wxPyDropSource
,
29534 _swigt__p_wxWindow
,
29535 _swigt__p_wxString
,
29536 _swigt__p_wxPyProcess
,
29537 _swigt__p_wxBitmap
,
29538 _swigt__p_wxConfig
,
29540 _swigt__p_wxBusyInfo
,
29541 _swigt__p_wxPyDropTarget
,
29542 _swigt__p_wxPyTextDropTarget
,
29543 _swigt__p_wxPyFileDropTarget
,
29544 _swigt__p_wxProcessEvent
,
29546 _swigt__p_wxLogNull
,
29547 _swigt__p_wxColour
,
29548 _swigt__p_wxConfigPathChanger
,
29549 _swigt__p_wxPyTimer
,
29550 _swigt__p_wxDateSpan
,
29555 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29557 static swig_const_info swig_const_table
[] = {
29558 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29559 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29560 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29561 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29562 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29572 SWIGEXPORT(void) SWIG_init(void) {
29573 static PyObject
*SWIG_globals
= 0;
29574 static int typeinit
= 0;
29577 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29578 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29579 d
= PyModule_GetDict(m
);
29582 for (i
= 0; swig_types_initial
[i
]; i
++) {
29583 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29587 SWIG_InstallConstants(d
,swig_const_table
);
29589 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29590 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29591 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29592 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29593 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29594 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29595 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29596 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29597 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29598 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29624 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29625 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29626 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29627 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29628 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29629 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29630 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29631 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29632 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29633 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29634 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29635 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29636 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29637 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29638 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29639 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29640 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29641 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29642 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29643 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29644 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29645 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29646 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29647 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29648 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29649 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29650 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29651 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29652 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29653 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29654 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29655 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29656 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29657 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29658 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29659 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29660 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29661 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29662 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29663 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29664 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29665 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29666 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29667 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29668 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29669 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29670 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29671 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29672 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29673 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29674 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29675 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29676 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29677 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29678 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29679 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29680 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29681 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29682 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29683 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29684 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29685 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29686 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29687 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29688 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29690 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29692 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29693 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29694 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29695 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29696 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29697 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29698 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29699 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29700 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29701 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29702 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29703 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29704 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29705 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29706 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29707 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29708 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29709 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29710 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29711 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29712 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29713 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29714 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29715 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29716 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29717 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29718 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29719 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29720 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29721 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29722 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29723 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29724 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29725 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29726 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29727 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29728 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29729 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29730 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29731 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29732 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29733 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29734 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29735 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29736 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29737 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29738 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29739 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29740 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29741 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29743 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29745 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29746 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29747 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29748 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29749 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29750 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29751 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29752 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29753 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29754 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29755 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29756 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29757 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29758 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29759 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29760 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29761 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29762 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29763 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29764 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29799 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29804 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29806 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29807 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29808 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29809 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29810 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29811 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29812 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29813 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29814 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29815 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29816 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29817 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29818 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29819 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29820 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29821 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29822 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29823 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29824 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29825 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29826 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29827 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29828 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29829 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29830 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29831 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29832 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29833 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29834 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29835 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29836 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29837 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29838 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29839 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29840 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29841 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29842 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29843 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29844 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29845 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29846 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29847 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29848 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29849 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29850 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29851 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29852 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29853 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29854 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29855 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29856 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29857 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29858 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29859 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29860 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29861 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29862 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29863 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29864 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29865 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29866 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29867 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29868 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29869 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29870 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29920 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29921 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29922 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29923 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29924 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29925 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29926 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29927 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29928 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29929 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29930 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29931 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29932 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29933 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29934 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29935 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29936 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29937 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29938 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29939 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29940 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29941 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29942 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29943 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29944 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29945 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29946 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29947 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29948 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29949 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29950 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29951 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29952 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29953 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29954 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29955 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29956 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29957 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29958 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29959 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29960 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29961 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29962 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29963 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29964 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29965 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29966 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29967 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29968 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29969 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29970 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29971 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29972 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29973 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29974 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29975 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29976 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29977 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29978 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29979 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29980 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29981 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29982 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29983 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29984 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29985 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29986 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29987 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29988 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29989 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29990 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29991 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29992 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29993 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29994 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29995 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29996 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29997 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29998 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29999 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30000 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30001 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30002 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30003 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30004 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30005 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30007 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30008 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30009 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30010 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30012 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30013 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);