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
);
1482 class wxMetafileDataObject
: public wxDataObjectSimple
1485 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1489 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1492 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1493 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1494 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1495 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1496 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1499 class wxPyTextDropTarget
: public wxTextDropTarget
{
1501 wxPyTextDropTarget() {}
1503 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1505 DEC_PYCALLBACK__(OnLeave
);
1506 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1507 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1508 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1509 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1514 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1515 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1516 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1517 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1518 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1519 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1523 class wxPyFileDropTarget
: public wxFileDropTarget
{
1525 wxPyFileDropTarget() {}
1527 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1529 DEC_PYCALLBACK__(OnLeave
);
1530 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1531 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1532 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1533 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1538 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1539 const wxArrayString
& filenames
) {
1541 bool blocked
= wxPyBeginBlockThreads();
1542 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1543 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1544 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1547 wxPyEndBlockThreads(blocked
);
1553 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1554 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1555 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1556 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1557 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1562 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1564 #include "wx/display.h"
1566 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1567 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1568 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1569 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1570 PyObject
* pyList
= NULL
;
1571 wxArrayVideoModes arr
= self
->GetModes(mode
);
1572 bool blocked
= wxPyBeginBlockThreads();
1573 pyList
= PyList_New(0);
1574 for (int i
=0; i
< arr
.GetCount(); i
++) {
1575 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1576 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1577 PyList_Append(pyList
, pyObj
);
1580 wxPyEndBlockThreads(blocked
);
1586 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1590 PyObject
* obj0
= 0 ;
1592 (char *) "index", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1596 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1606 wxColour
* resultptr
;
1607 resultptr
= new wxColour((wxColour
&) result
);
1608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1616 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1620 PyObject
* obj0
= 0 ;
1622 (char *) "index", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1626 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1637 resultptr
= new wxFont((wxFont
&) result
);
1638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1646 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1650 PyObject
* obj0
= 0 ;
1652 (char *) "index", NULL
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1656 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1665 resultobj
= SWIG_FromInt((int)result
);
1672 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1676 PyObject
* obj0
= 0 ;
1678 (char *) "index", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1682 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1700 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 result
= (int)wxSystemSettings::GetScreenType();
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 resultobj
= SWIG_FromInt((int)result
);
1722 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1725 PyObject
* obj0
= 0 ;
1727 (char *) "screen", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1731 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1740 Py_INCREF(Py_None
); resultobj
= Py_None
;
1747 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1750 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1752 return Py_BuildValue((char *)"");
1754 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxSystemOptions
*result
;
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (wxSystemOptions
*)new wxSystemOptions();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1776 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxString
*arg1
= 0 ;
1779 wxString
*arg2
= 0 ;
1780 bool temp1
= False
;
1781 bool temp2
= False
;
1782 PyObject
* obj0
= 0 ;
1783 PyObject
* obj1
= 0 ;
1785 (char *) "name",(char *) "value", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1790 arg1
= wxString_in_helper(obj0
);
1791 if (arg1
== NULL
) SWIG_fail
;
1795 arg2
= wxString_in_helper(obj1
);
1796 if (arg2
== NULL
) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1829 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
*resultobj
;
1831 wxString
*arg1
= 0 ;
1833 bool temp1
= False
;
1834 PyObject
* obj0
= 0 ;
1835 PyObject
* obj1
= 0 ;
1837 (char *) "name",(char *) "value", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1842 arg1
= wxString_in_helper(obj0
);
1843 if (arg1
== NULL
) SWIG_fail
;
1846 arg2
= (int) SWIG_AsInt(obj1
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1870 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxString
*arg1
= 0 ;
1874 bool temp1
= False
;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "name", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1882 arg1
= wxString_in_helper(obj0
);
1883 if (arg1
== NULL
) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1914 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxString
*arg1
= 0 ;
1918 bool temp1
= False
;
1919 PyObject
* obj0
= 0 ;
1921 (char *) "name", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1926 arg1
= wxString_in_helper(obj0
);
1927 if (arg1
== NULL
) SWIG_fail
;
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1937 resultobj
= SWIG_FromInt((int)result
);
1952 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxString
*arg1
= 0 ;
1956 bool temp1
= False
;
1957 PyObject
* obj0
= 0 ;
1959 (char *) "name", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1964 arg1
= wxString_in_helper(obj0
);
1965 if (arg1
== NULL
) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1992 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1995 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1997 return Py_BuildValue((char *)"");
1999 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2000 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2005 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2010 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2012 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2019 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2020 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2025 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2030 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2032 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2039 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2040 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2045 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2050 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2052 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2059 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= (long)wxNewId();
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= SWIG_FromLong((long)result
);
2081 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2084 PyObject
* obj0
= 0 ;
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2090 arg1
= (long) SWIG_AsLong(obj0
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 Py_INCREF(Py_None
); resultobj
= Py_None
;
2106 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 result
= (long)wxGetCurrentId();
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 resultobj
= SWIG_FromLong((long)result
);
2128 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 bool arg1
= (bool) True
;
2174 PyObject
* obj0
= 0 ;
2176 (char *) "resetTimer", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2181 arg1
= (bool) SWIG_AsBool(obj0
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 result
= (long)wxGetElapsedTime(arg1
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 resultobj
= SWIG_FromLong((long)result
);
2198 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 int *arg1
= (int *) 0 ;
2201 int *arg2
= (int *) 0 ;
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 wxGetMousePosition(arg1
,arg2
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2221 resultobj
= t_output_helper(resultobj
,o
);
2224 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2225 resultobj
= t_output_helper(resultobj
,o
);
2233 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= (bool)wxIsBusy();
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2257 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2285 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2288 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2290 bool temp1
= False
;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "command", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2299 arg1
= wxString_in_helper(obj0
);
2300 if (arg1
== NULL
) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 result
= (bool)wxShell((wxString
const &)*arg1
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2328 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 int *arg1
= (int *) 0 ;
2352 int *arg2
= (int *) 0 ;
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= (int)wxGetOsVersion(arg1
,arg2
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 resultobj
= SWIG_FromInt((int)result
);
2372 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2373 resultobj
= t_output_helper(resultobj
,o
);
2376 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2377 resultobj
= t_output_helper(resultobj
,o
);
2385 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 result
= wxGetOsDescription();
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2413 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (long)wxGetFreeMemory();
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= SWIG_FromLong((long)result
);
2435 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2439 PyObject
* obj0
= 0 ;
2441 (char *) "wFlags", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2445 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2451 wxPyEndAllowThreads(__tstate
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2463 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2466 PyObject
* obj0
= 0 ;
2468 (char *) "secs", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2472 arg1
= (int) SWIG_AsInt(obj0
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2488 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 unsigned long arg1
;
2491 PyObject
* obj0
= 0 ;
2493 (char *) "milliseconds", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2497 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2516 PyObject
* obj0
= 0 ;
2518 (char *) "enable", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2522 arg1
= (bool) SWIG_AsBool(obj0
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxEnableTopLevelWindows(arg1
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 Py_INCREF(Py_None
); resultobj
= Py_None
;
2538 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxString
*arg1
= 0 ;
2542 bool temp1
= False
;
2543 PyObject
* obj0
= 0 ;
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2550 arg1
= wxString_in_helper(obj0
);
2551 if (arg1
== NULL
) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2582 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= wxGetEmailAddress();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2610 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 result
= wxGetHostName();
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2638 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 result
= wxGetFullHostName();
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2666 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 result
= wxGetUserId();
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2694 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 result
= wxGetUserName();
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2722 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 result
= wxGetHomeDir();
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2750 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2753 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2755 bool temp1
= False
;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "user", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2764 arg1
= wxString_in_helper(obj0
);
2765 if (arg1
== NULL
) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= wxGetUserHome((wxString
const &)*arg1
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2797 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 unsigned long result
;
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= (unsigned long)wxGetProcessId();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2819 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2833 Py_INCREF(Py_None
); resultobj
= Py_None
;
2840 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2843 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2844 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2845 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2848 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2849 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2850 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2851 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2852 int arg6
= (int) 0 ;
2853 wxWindow
*arg7
= (wxWindow
*) NULL
;
2854 int arg8
= (int) -1 ;
2855 int arg9
= (int) -1 ;
2857 bool temp1
= False
;
2858 bool temp2
= False
;
2859 bool temp3
= False
;
2860 bool temp4
= False
;
2861 bool temp5
= False
;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj1
= 0 ;
2864 PyObject
* obj2
= 0 ;
2865 PyObject
* obj3
= 0 ;
2866 PyObject
* obj4
= 0 ;
2867 PyObject
* obj5
= 0 ;
2868 PyObject
* obj6
= 0 ;
2869 PyObject
* obj7
= 0 ;
2870 PyObject
* obj8
= 0 ;
2872 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2878 arg1
= wxString_in_helper(obj0
);
2879 if (arg1
== NULL
) SWIG_fail
;
2885 arg2
= wxString_in_helper(obj1
);
2886 if (arg2
== NULL
) SWIG_fail
;
2892 arg3
= wxString_in_helper(obj2
);
2893 if (arg3
== NULL
) SWIG_fail
;
2899 arg4
= wxString_in_helper(obj3
);
2900 if (arg4
== NULL
) SWIG_fail
;
2906 arg5
= wxString_in_helper(obj4
);
2907 if (arg5
== NULL
) SWIG_fail
;
2912 arg6
= (int) SWIG_AsInt(obj5
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2916 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2920 arg8
= (int) SWIG_AsInt(obj7
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 arg9
= (int) SWIG_AsInt(obj8
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2987 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxString
*arg1
= 0 ;
2990 wxString
*arg2
= 0 ;
2991 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2993 wxWindow
*arg4
= (wxWindow
*) NULL
;
2995 bool temp1
= False
;
2996 bool temp2
= False
;
2997 bool temp3
= False
;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3000 PyObject
* obj2
= 0 ;
3001 PyObject
* obj3
= 0 ;
3003 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3008 arg1
= wxString_in_helper(obj0
);
3009 if (arg1
== NULL
) SWIG_fail
;
3013 arg2
= wxString_in_helper(obj1
);
3014 if (arg2
== NULL
) SWIG_fail
;
3019 arg3
= wxString_in_helper(obj2
);
3020 if (arg3
== NULL
) SWIG_fail
;
3025 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3072 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxString
*arg1
= 0 ;
3075 wxString
*arg2
= 0 ;
3076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3078 wxWindow
*arg4
= (wxWindow
*) NULL
;
3080 bool temp1
= False
;
3081 bool temp2
= False
;
3082 bool temp3
= False
;
3083 PyObject
* obj0
= 0 ;
3084 PyObject
* obj1
= 0 ;
3085 PyObject
* obj2
= 0 ;
3086 PyObject
* obj3
= 0 ;
3088 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3093 arg1
= wxString_in_helper(obj0
);
3094 if (arg1
== NULL
) SWIG_fail
;
3098 arg2
= wxString_in_helper(obj1
);
3099 if (arg2
== NULL
) SWIG_fail
;
3104 arg3
= wxString_in_helper(obj2
);
3105 if (arg3
== NULL
) SWIG_fail
;
3110 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3157 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3160 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3161 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3162 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3163 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3166 wxWindow
*arg5
= (wxWindow
*) NULL
;
3168 bool temp1
= False
;
3169 bool temp2
= False
;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3173 PyObject
* obj2
= 0 ;
3174 PyObject
* obj3
= 0 ;
3175 PyObject
* obj4
= 0 ;
3177 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3183 arg1
= wxString_in_helper(obj0
);
3184 if (arg1
== NULL
) SWIG_fail
;
3190 arg2
= wxString_in_helper(obj1
);
3191 if (arg2
== NULL
) SWIG_fail
;
3196 arg3
= (long) SWIG_AsLong(obj2
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3206 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3245 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxString
*arg1
= 0 ;
3248 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3249 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3252 wxWindow
*arg4
= (wxWindow
*) NULL
;
3253 int arg5
= (int) -1 ;
3254 int arg6
= (int) -1 ;
3255 bool arg7
= (bool) True
;
3257 bool temp1
= False
;
3258 bool temp2
= False
;
3259 bool temp3
= False
;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3262 PyObject
* obj2
= 0 ;
3263 PyObject
* obj3
= 0 ;
3264 PyObject
* obj4
= 0 ;
3265 PyObject
* obj5
= 0 ;
3266 PyObject
* obj6
= 0 ;
3268 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3273 arg1
= wxString_in_helper(obj0
);
3274 if (arg1
== NULL
) SWIG_fail
;
3279 arg2
= wxString_in_helper(obj1
);
3280 if (arg2
== NULL
) SWIG_fail
;
3286 arg3
= wxString_in_helper(obj2
);
3287 if (arg3
== NULL
) SWIG_fail
;
3292 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 arg5
= (int) SWIG_AsInt(obj4
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3300 arg6
= (int) SWIG_AsInt(obj5
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 arg7
= (bool) SWIG_AsBool(obj6
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3351 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxString
*arg1
= 0 ;
3354 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3355 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3356 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3357 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3358 wxWindow
*arg4
= (wxWindow
*) NULL
;
3360 bool temp1
= False
;
3361 bool temp2
= False
;
3362 bool temp3
= False
;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3365 PyObject
* obj2
= 0 ;
3366 PyObject
* obj3
= 0 ;
3368 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3373 arg1
= wxString_in_helper(obj0
);
3374 if (arg1
== NULL
) SWIG_fail
;
3379 arg2
= wxString_in_helper(obj1
);
3380 if (arg2
== NULL
) SWIG_fail
;
3386 arg3
= wxString_in_helper(obj2
);
3387 if (arg3
== NULL
) SWIG_fail
;
3392 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3439 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxString
*arg1
= 0 ;
3442 wxString
*arg2
= 0 ;
3444 wxString
*arg4
= (wxString
*) 0 ;
3445 wxWindow
*arg5
= (wxWindow
*) NULL
;
3446 int arg6
= (int) -1 ;
3447 int arg7
= (int) -1 ;
3448 bool arg8
= (bool) True
;
3449 int arg9
= (int) 150 ;
3450 int arg10
= (int) 200 ;
3452 bool temp1
= False
;
3453 bool temp2
= False
;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3456 PyObject
* obj2
= 0 ;
3457 PyObject
* obj3
= 0 ;
3458 PyObject
* obj4
= 0 ;
3459 PyObject
* obj5
= 0 ;
3460 PyObject
* obj6
= 0 ;
3461 PyObject
* obj7
= 0 ;
3462 PyObject
* obj8
= 0 ;
3464 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3469 arg1
= wxString_in_helper(obj0
);
3470 if (arg1
== NULL
) SWIG_fail
;
3474 arg2
= wxString_in_helper(obj1
);
3475 if (arg2
== NULL
) SWIG_fail
;
3479 arg3
= PyList_Size(obj2
);
3480 arg4
= wxString_LIST_helper(obj2
);
3481 if (arg4
== NULL
) SWIG_fail
;
3484 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 arg6
= (int) SWIG_AsInt(obj4
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3492 arg7
= (int) SWIG_AsInt(obj5
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3496 arg8
= (bool) SWIG_AsBool(obj6
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3500 arg9
= (int) SWIG_AsInt(obj7
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 arg10
= (int) SWIG_AsInt(obj8
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3530 if (arg4
) delete [] arg4
;
3543 if (arg4
) delete [] arg4
;
3549 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxString
*arg1
= 0 ;
3552 wxString
*arg2
= 0 ;
3554 wxString
*arg4
= (wxString
*) 0 ;
3555 wxWindow
*arg5
= (wxWindow
*) NULL
;
3556 int arg6
= (int) -1 ;
3557 int arg7
= (int) -1 ;
3558 bool arg8
= (bool) True
;
3559 int arg9
= (int) 150 ;
3560 int arg10
= (int) 200 ;
3562 bool temp1
= False
;
3563 bool temp2
= False
;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3566 PyObject
* obj2
= 0 ;
3567 PyObject
* obj3
= 0 ;
3568 PyObject
* obj4
= 0 ;
3569 PyObject
* obj5
= 0 ;
3570 PyObject
* obj6
= 0 ;
3571 PyObject
* obj7
= 0 ;
3572 PyObject
* obj8
= 0 ;
3574 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3579 arg1
= wxString_in_helper(obj0
);
3580 if (arg1
== NULL
) SWIG_fail
;
3584 arg2
= wxString_in_helper(obj1
);
3585 if (arg2
== NULL
) SWIG_fail
;
3589 arg3
= PyList_Size(obj2
);
3590 arg4
= wxString_LIST_helper(obj2
);
3591 if (arg4
== NULL
) SWIG_fail
;
3594 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 arg6
= (int) SWIG_AsInt(obj4
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 arg7
= (int) SWIG_AsInt(obj5
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 arg8
= (bool) SWIG_AsBool(obj6
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 arg9
= (int) SWIG_AsInt(obj7
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 arg10
= (int) SWIG_AsInt(obj8
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= SWIG_FromInt((int)result
);
3634 if (arg4
) delete [] arg4
;
3647 if (arg4
) delete [] arg4
;
3653 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxString
*arg1
= 0 ;
3656 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3657 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3658 int arg3
= (int) wxOK
|wxCENTRE
;
3659 wxWindow
*arg4
= (wxWindow
*) NULL
;
3660 int arg5
= (int) -1 ;
3661 int arg6
= (int) -1 ;
3663 bool temp1
= False
;
3664 bool temp2
= False
;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3668 PyObject
* obj3
= 0 ;
3669 PyObject
* obj4
= 0 ;
3670 PyObject
* obj5
= 0 ;
3672 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3677 arg1
= wxString_in_helper(obj0
);
3678 if (arg1
== NULL
) SWIG_fail
;
3683 arg2
= wxString_in_helper(obj1
);
3684 if (arg2
== NULL
) SWIG_fail
;
3689 arg3
= (int) SWIG_AsInt(obj2
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3697 arg5
= (int) SWIG_AsInt(obj4
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 arg6
= (int) SWIG_AsInt(obj5
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_FromInt((int)result
);
3734 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxString
*arg1
= 0 ;
3737 wxString
*arg2
= 0 ;
3738 wxString
*arg3
= 0 ;
3740 long arg5
= (long) 0 ;
3741 long arg6
= (long) 100 ;
3742 wxWindow
*arg7
= (wxWindow
*) NULL
;
3743 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3746 bool temp1
= False
;
3747 bool temp2
= False
;
3748 bool temp3
= False
;
3750 PyObject
* obj0
= 0 ;
3751 PyObject
* obj1
= 0 ;
3752 PyObject
* obj2
= 0 ;
3753 PyObject
* obj3
= 0 ;
3754 PyObject
* obj4
= 0 ;
3755 PyObject
* obj5
= 0 ;
3756 PyObject
* obj6
= 0 ;
3757 PyObject
* obj7
= 0 ;
3759 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3764 arg1
= wxString_in_helper(obj0
);
3765 if (arg1
== NULL
) SWIG_fail
;
3769 arg2
= wxString_in_helper(obj1
);
3770 if (arg2
== NULL
) SWIG_fail
;
3774 arg3
= wxString_in_helper(obj2
);
3775 if (arg3
== NULL
) SWIG_fail
;
3778 arg4
= (long) SWIG_AsLong(obj3
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 arg5
= (long) SWIG_AsLong(obj4
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 arg6
= (long) SWIG_AsLong(obj5
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3789 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_FromLong((long)result
);
3836 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (bool)wxColourDisplay();
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3860 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (int)wxDisplayDepth();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_FromInt((int)result
);
3882 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 result
= (int)wxGetDisplayDepth();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 resultobj
= SWIG_FromInt((int)result
);
3904 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 int *arg1
= (int *) 0 ;
3907 int *arg2
= (int *) 0 ;
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 wxDisplaySize(arg1
,arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3926 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3927 resultobj
= t_output_helper(resultobj
,o
);
3930 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3931 resultobj
= t_output_helper(resultobj
,o
);
3939 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= wxGetDisplaySize();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3956 resultptr
= new wxSize((wxSize
&) result
);
3957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3965 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 int *arg1
= (int *) 0 ;
3968 int *arg2
= (int *) 0 ;
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 wxDisplaySizeMM(arg1
,arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3988 resultobj
= t_output_helper(resultobj
,o
);
3991 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3992 resultobj
= t_output_helper(resultobj
,o
);
4000 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= wxGetDisplaySizeMM();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4017 resultptr
= new wxSize((wxSize
&) result
);
4018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4026 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 int *arg1
= (int *) 0 ;
4029 int *arg2
= (int *) 0 ;
4030 int *arg3
= (int *) 0 ;
4031 int *arg4
= (int *) 0 ;
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4054 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4055 resultobj
= t_output_helper(resultobj
,o
);
4058 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4059 resultobj
= t_output_helper(resultobj
,o
);
4062 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4063 resultobj
= t_output_helper(resultobj
,o
);
4066 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4067 resultobj
= t_output_helper(resultobj
,o
);
4075 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= wxGetClientDisplayRect();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4092 resultptr
= new wxRect((wxRect
&) result
);
4093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4101 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxCursor
*arg1
= 0 ;
4104 PyObject
* obj0
= 0 ;
4106 (char *) "cursor", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4114 PyErr_SetString(PyExc_TypeError
,"null reference");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "cursor", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 wxBeginBusyCursor(arg1
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4158 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxWindow
*)wxGetActiveWindow();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= wxPyMake_wxObject(result
);
4182 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4187 PyObject
* obj0
= 0 ;
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4195 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= wxPyMake_wxObject(result
);
4213 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4218 PyObject
* obj0
= 0 ;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4226 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= wxPyMake_wxObject(result
);
4244 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxWindow
*arg1
= (wxWindow
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4250 (char *) "win", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= wxPyMake_wxObject(result
);
4272 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4276 PyObject
* obj0
= 0 ;
4278 (char *) "key", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4282 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4300 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 wxWakeUpMainThread();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 Py_INCREF(Py_None
); resultobj
= Py_None
;
4321 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4363 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxMutexGuiLocker
*result
;
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4385 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 Py_INCREF(Py_None
); resultobj
= Py_None
;
4410 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4413 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4415 return Py_BuildValue((char *)"");
4417 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (bool)wxThread_IsMain();
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4441 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxString
*arg1
= 0 ;
4445 bool temp1
= False
;
4446 PyObject
* obj0
= 0 ;
4448 (char *) "tip", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4453 arg1
= wxString_in_helper(obj0
);
4454 if (arg1
== NULL
) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= wxPyMake_wxObject(result
);
4481 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4484 wxString
*arg2
= 0 ;
4485 bool temp2
= False
;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4489 (char *) "self",(char *) "tip", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 arg2
= wxString_in_helper(obj1
);
4497 if (arg2
== NULL
) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 (arg1
)->SetTip((wxString
const &)*arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4522 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4528 (char *) "self", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= (arg1
)->GetTip();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4554 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (wxWindow
*)(arg1
)->GetWindow();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= wxPyMake_wxObject(result
);
4582 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "flag", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4591 arg1
= (bool) SWIG_AsBool(obj0
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 wxToolTip::Enable(arg1
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 Py_INCREF(Py_None
); resultobj
= Py_None
;
4607 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "milliseconds", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4616 arg1
= (long) SWIG_AsLong(obj0
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 wxToolTip::SetDelay(arg1
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 Py_INCREF(Py_None
); resultobj
= Py_None
;
4632 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4635 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4637 return Py_BuildValue((char *)"");
4639 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxWindow
*arg1
= (wxWindow
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4648 (char *) "window",(char *) "size", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4672 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxCaret
*arg1
= (wxCaret
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4677 (char *) "self", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 Py_INCREF(Py_None
); resultobj
= Py_None
;
4697 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxCaret
*arg1
= (wxCaret
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (bool)(arg1
)->IsOk();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4725 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxCaret
*arg1
= (wxCaret
*) 0 ;
4729 PyObject
* obj0
= 0 ;
4731 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (bool)(arg1
)->IsVisible();
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4753 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxCaret
*arg1
= (wxCaret
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (arg1
)->GetPosition();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 wxPoint
* resultptr
;
4774 resultptr
= new wxPoint((wxPoint
&) result
);
4775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4783 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxCaret
*arg1
= (wxCaret
*) 0 ;
4786 int *arg2
= (int *) 0 ;
4787 int *arg3
= (int *) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->GetPosition(arg2
,arg3
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 Py_INCREF(Py_None
); resultobj
= Py_None
;
4809 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4810 resultobj
= t_output_helper(resultobj
,o
);
4813 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4814 resultobj
= t_output_helper(resultobj
,o
);
4822 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxCaret
*arg1
= (wxCaret
*) 0 ;
4826 PyObject
* obj0
= 0 ;
4828 (char *) "self", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (arg1
)->GetSize();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4843 resultptr
= new wxSize((wxSize
&) result
);
4844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4852 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxCaret
*arg1
= (wxCaret
*) 0 ;
4855 int *arg2
= (int *) 0 ;
4856 int *arg3
= (int *) 0 ;
4859 PyObject
* obj0
= 0 ;
4861 (char *) "self", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 (arg1
)->GetSize(arg2
,arg3
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 Py_INCREF(Py_None
); resultobj
= Py_None
;
4878 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4879 resultobj
= t_output_helper(resultobj
,o
);
4882 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4883 resultobj
= t_output_helper(resultobj
,o
);
4891 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxCaret
*arg1
= (wxCaret
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (wxWindow
*)(arg1
)->GetWindow();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= wxPyMake_wxObject(result
);
4919 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxCaret
*arg1
= (wxCaret
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4926 PyObject
* obj2
= 0 ;
4928 (char *) "self",(char *) "x",(char *) "y", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 arg2
= (int) SWIG_AsInt(obj1
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4936 arg3
= (int) SWIG_AsInt(obj2
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->Move(arg2
,arg3
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxCaret
*arg1
= (wxCaret
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4960 (char *) "self",(char *) "pt", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 (arg1
)->Move((wxPoint
const &)*arg2
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 Py_INCREF(Py_None
); resultobj
= Py_None
;
4984 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxCaret
*arg1
= (wxCaret
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4993 (char *) "self",(char *) "width",(char *) "height", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 arg2
= (int) SWIG_AsInt(obj1
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5001 arg3
= (int) SWIG_AsInt(obj2
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 (arg1
)->SetSize(arg2
,arg3
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 Py_INCREF(Py_None
); resultobj
= Py_None
;
5017 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxCaret
*arg1
= (wxCaret
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "size", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 (arg1
)->SetSize((wxSize
const &)*arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 Py_INCREF(Py_None
); resultobj
= Py_None
;
5049 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxCaret
*arg1
= (wxCaret
*) 0 ;
5052 int arg2
= (int) True
;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5056 (char *) "self",(char *) "show", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5063 arg2
= (int) SWIG_AsInt(obj1
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxCaret
*arg1
= (wxCaret
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5085 (char *) "self", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 Py_INCREF(Py_None
); resultobj
= Py_None
;
5105 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (int)wxCaret_GetBlinkTime();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_FromInt((int)result
);
5134 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "milliseconds", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5143 arg1
= (int) SWIG_AsInt(obj0
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 wxCaret_SetBlinkTime(arg1
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 Py_INCREF(Py_None
); resultobj
= Py_None
;
5159 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5162 wxBusyCursor
*result
;
5163 PyObject
* obj0
= 0 ;
5165 (char *) "cursor", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5187 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5192 (char *) "self", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 Py_INCREF(Py_None
); resultobj
= Py_None
;
5212 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5215 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5217 return Py_BuildValue((char *)"");
5219 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxWindow
*arg1
= (wxWindow
*) NULL
;
5222 wxWindowDisabler
*result
;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "winToSkip", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5247 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5252 (char *) "self", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 Py_INCREF(Py_None
); resultobj
= Py_None
;
5272 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5275 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5277 return Py_BuildValue((char *)"");
5279 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxString
*arg1
= 0 ;
5283 bool temp1
= False
;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "message", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5291 arg1
= wxString_in_helper(obj0
);
5292 if (arg1
== NULL
) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5317 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5347 return Py_BuildValue((char *)"");
5349 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxStopWatch
*result
;
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (wxStopWatch
*)new wxStopWatch();
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5371 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5374 long arg2
= (long) 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5378 (char *) "self",(char *) "t0", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 arg2
= (long) SWIG_AsLong(obj1
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->Start(arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 Py_INCREF(Py_None
); resultobj
= Py_None
;
5402 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5407 (char *) "self", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5427 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5432 (char *) "self", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 Py_INCREF(Py_None
); resultobj
= Py_None
;
5452 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= SWIG_FromLong((long)result
);
5478 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5481 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5483 return Py_BuildValue((char *)"");
5485 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 int arg1
= (int) 9 ;
5488 wxFileHistory
*result
;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "maxFiles", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5496 arg1
= (int) SWIG_AsInt(obj0
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5513 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5518 (char *) "self", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5541 wxString
*arg2
= 0 ;
5542 bool temp2
= False
;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "file", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 arg2
= wxString_in_helper(obj1
);
5554 if (arg2
== NULL
) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "i", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 arg2
= (int) SWIG_AsInt(obj1
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 (arg1
)->RemoveFileFromHistory(arg2
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5614 (char *) "self", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_FromInt((int)result
);
5634 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5637 wxMenu
*arg2
= (wxMenu
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5641 (char *) "self",(char *) "menu", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 (arg1
)->UseMenu(arg2
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 Py_INCREF(Py_None
); resultobj
= Py_None
;
5663 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
;
5665 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5666 wxMenu
*arg2
= (wxMenu
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5670 (char *) "self",(char *) "menu", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->RemoveMenu(arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5695 wxConfigBase
*arg2
= 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5699 (char *) "self",(char *) "config", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5709 PyErr_SetString(PyExc_TypeError
,"null reference");
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 (arg1
)->Load(*arg2
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 Py_INCREF(Py_None
); resultobj
= Py_None
;
5726 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5729 wxConfigBase
*arg2
= 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "self",(char *) "config", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5743 PyErr_SetString(PyExc_TypeError
,"null reference");
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 (arg1
)->Save(*arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 Py_INCREF(Py_None
); resultobj
= Py_None
;
5760 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 (arg1
)->AddFilesToMenu();
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 Py_INCREF(Py_None
); resultobj
= Py_None
;
5785 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5787 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5788 wxMenu
*arg2
= (wxMenu
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5792 (char *) "self",(char *) "menu", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 (arg1
)->AddFilesToMenu(arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "i", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 arg2
= (int) SWIG_AsInt(obj1
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5850 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5856 (char *) "self", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_FromInt((int)result
);
5876 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5879 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5881 return Py_BuildValue((char *)"");
5883 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxString
*arg1
= 0 ;
5886 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5887 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5888 wxSingleInstanceChecker
*result
;
5889 bool temp1
= False
;
5890 bool temp2
= False
;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5894 (char *) "name",(char *) "path", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 arg1
= wxString_in_helper(obj0
);
5900 if (arg1
== NULL
) SWIG_fail
;
5905 arg2
= wxString_in_helper(obj1
);
5906 if (arg2
== NULL
) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5940 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxSingleInstanceChecker
*result
;
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5962 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5990 wxString
*arg2
= 0 ;
5991 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5994 bool temp2
= False
;
5995 bool temp3
= False
;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 PyObject
* obj2
= 0 ;
6000 (char *) "self",(char *) "name",(char *) "path", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 arg2
= wxString_in_helper(obj1
);
6008 if (arg2
== NULL
) SWIG_fail
;
6013 arg3
= wxString_in_helper(obj2
);
6014 if (arg3
== NULL
) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "self", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6078 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6081 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6083 return Py_BuildValue((char *)"");
6085 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxWindow
*arg1
= (wxWindow
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6092 PyObject
* obj2
= 0 ;
6094 (char *) "window",(char *) "dc",(char *) "method", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6104 PyErr_SetString(PyExc_TypeError
,"null reference");
6107 arg3
= (int) SWIG_AsInt(obj2
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6128 (char *) "self", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "self", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (arg1
)->GetTip();
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6180 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6186 (char *) "self", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (size_t)(arg1
)->GetCurrentTip();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6206 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6209 wxString
*arg2
= 0 ;
6211 bool temp2
= False
;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6215 (char *) "self",(char *) "tip", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 arg2
= wxString_in_helper(obj1
);
6223 if (arg2
== NULL
) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6254 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6257 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6259 return Py_BuildValue((char *)"");
6261 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6264 wxPyTipProvider
*result
;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "currentTip", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6271 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6287 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6290 PyObject
*arg2
= (PyObject
*) 0 ;
6291 PyObject
*arg3
= (PyObject
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 PyObject
* obj2
= 0 ;
6296 (char *) "self",(char *) "self",(char *) "_class", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 Py_INCREF(Py_None
); resultobj
= Py_None
;
6318 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6321 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6323 return Py_BuildValue((char *)"");
6325 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxWindow
*arg1
= (wxWindow
*) 0 ;
6328 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6329 bool arg3
= (bool) True
;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 PyObject
* obj2
= 0 ;
6335 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 arg3
= (bool) SWIG_AsBool(obj2
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxString
*arg1
= 0 ;
6367 wxTipProvider
*result
;
6368 bool temp1
= False
;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "filename",(char *) "currentTip", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6377 arg1
= wxString_in_helper(obj0
);
6378 if (arg1
== NULL
) SWIG_fail
;
6381 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6405 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6408 int arg2
= (int) -1 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6413 (char *) "owner",(char *) "id", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 arg2
= (int) SWIG_AsInt(obj1
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6439 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6467 PyObject
*arg2
= (PyObject
*) 0 ;
6468 PyObject
*arg3
= (PyObject
*) 0 ;
6469 int arg4
= (int) 1 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6472 PyObject
* obj2
= 0 ;
6473 PyObject
* obj3
= 0 ;
6475 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6484 arg4
= (int) SWIG_AsInt(obj3
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6504 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6505 int arg3
= (int) -1 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 PyObject
* obj2
= 0 ;
6510 (char *) "self",(char *) "owner",(char *) "id", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6519 arg3
= (int) SWIG_AsInt(obj2
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->SetOwner(arg2
,arg3
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 Py_INCREF(Py_None
); resultobj
= Py_None
;
6536 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6539 wxEvtHandler
*result
;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= wxPyMake_wxObject(result
);
6564 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6567 int arg2
= (int) -1 ;
6568 bool arg3
= (bool) False
;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 PyObject
* obj2
= 0 ;
6574 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 arg2
= (int) SWIG_AsInt(obj1
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6585 arg3
= (bool) SWIG_AsBool(obj2
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6604 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6635 (char *) "self", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_FromInt((int)result
);
6683 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6689 (char *) "self", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6711 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6715 PyObject
* obj0
= 0 ;
6717 (char *) "self", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_FromInt((int)result
);
6737 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6740 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6742 return Py_BuildValue((char *)"");
6744 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 int arg1
= (int) 0 ;
6747 int arg2
= (int) 0 ;
6748 wxTimerEvent
*result
;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "timerid",(char *) "interval", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 arg1
= (int) SWIG_AsInt(obj0
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6761 arg2
= (int) SWIG_AsInt(obj1
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6778 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_FromInt((int)result
);
6804 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6807 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6809 return Py_BuildValue((char *)"");
6811 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6812 PyObject
*resultobj
;
6814 wxTimerRunner
*result
;
6815 PyObject
* obj0
= 0 ;
6817 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6822 PyErr_SetString(PyExc_TypeError
,"null reference");
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6839 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6840 PyObject
*resultobj
;
6843 bool arg3
= (bool) False
;
6844 wxTimerRunner
*result
;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 PyObject
* obj2
= 0 ;
6849 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6854 PyErr_SetString(PyExc_TypeError
,"null reference");
6857 arg2
= (int) SWIG_AsInt(obj1
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 arg3
= (bool) SWIG_AsBool(obj2
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6877 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6882 argc
= PyObject_Length(args
);
6883 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6884 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6890 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6898 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6901 if ((argc
>= 2) && (argc
<= 3)) {
6905 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6913 _v
= SWIG_CheckInt(argv
[1]);
6916 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6918 _v
= SWIG_CheckBool(argv
[2]);
6920 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6926 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6931 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6936 (char *) "self", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6960 bool arg3
= (bool) False
;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6963 PyObject
* obj2
= 0 ;
6965 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 arg2
= (int) SWIG_AsInt(obj1
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 arg3
= (bool) SWIG_AsBool(obj2
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 (arg1
)->Start(arg2
,arg3
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6994 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6996 return Py_BuildValue((char *)"");
6998 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (wxLog
*)new wxLog();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7020 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)wxLog::IsEnabled();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7044 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 bool arg1
= (bool) True
;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "doIt", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7055 arg1
= (bool) SWIG_AsBool(obj0
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)wxLog::EnableLogging(arg1
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7077 wxChar
*arg2
= (wxChar
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 PyObject
* obj2
= 0 ;
7083 (char *) "level",(char *) "szString",(char *) "t", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7087 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxLog
*arg1
= (wxLog
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7112 (char *) "self", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxLog::FlushActive();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7153 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (wxLog
*)wxLog::GetActiveTarget();
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7175 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxLog
*arg1
= (wxLog
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "pLogger", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7201 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 Py_INCREF(Py_None
); resultobj
= Py_None
;
7222 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 bool arg1
= (bool) True
;
7246 PyObject
* obj0
= 0 ;
7248 (char *) "bVerbose", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7253 arg1
= (bool) SWIG_AsBool(obj0
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxLog::SetVerbose(arg1
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "logLevel", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7279 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 wxLog::SetLogLevel(arg1
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 Py_INCREF(Py_None
); resultobj
= Py_None
;
7295 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 wxLog::DontCreateOnDemand();
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "ulMask", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7325 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 wxLog::SetTraceMask(arg1
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 Py_INCREF(Py_None
); resultobj
= Py_None
;
7341 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxString
*arg1
= 0 ;
7344 bool temp1
= False
;
7345 PyObject
* obj0
= 0 ;
7347 (char *) "str", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7352 arg1
= wxString_in_helper(obj0
);
7353 if (arg1
== NULL
) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 wxLog::AddTraceMask((wxString
const &)*arg1
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxString
*arg1
= 0 ;
7381 bool temp1
= False
;
7382 PyObject
* obj0
= 0 ;
7384 (char *) "str", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7389 arg1
= wxString_in_helper(obj0
);
7390 if (arg1
== NULL
) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7415 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 wxLog::ClearTraceMasks();
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7436 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxArrayString
*result
;
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7448 result
= (wxArrayString
*) &_result_ref
;
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= wxArrayString2PyList_helper(*result
);
7463 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxChar
*arg1
= (wxChar
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxLog::SetTimestamp((wxChar
const *)arg1
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7488 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (bool)wxLog::GetVerbose();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxTraceMask
)wxLog::GetTraceMask();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7534 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxChar
*arg1
= (wxChar
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7540 (char *) "mask", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7562 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxLogLevel
)wxLog::GetLogLevel();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7584 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (wxChar
*)wxLog::GetTimestamp();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7606 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= Log_TimeStamp();
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7634 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxLog
*arg1
= (wxLog
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 wxLog_Destroy(arg1
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 Py_INCREF(Py_None
); resultobj
= Py_None
;
7659 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7662 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7664 return Py_BuildValue((char *)"");
7666 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxLogStderr
*result
;
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (wxLogStderr
*)new wxLogStderr();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7688 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7691 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7693 return Py_BuildValue((char *)"");
7695 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7698 wxLogTextCtrl
*result
;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "pTextCtrl", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7721 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7724 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7726 return Py_BuildValue((char *)"");
7728 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (wxLogGui
*)new wxLogGui();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7750 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7755 return Py_BuildValue((char *)"");
7757 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxFrame
*arg1
= (wxFrame
*) 0 ;
7760 wxString
*arg2
= 0 ;
7761 bool arg3
= (bool) True
;
7762 bool arg4
= (bool) True
;
7763 wxLogWindow
*result
;
7764 bool temp2
= False
;
7765 PyObject
* obj0
= 0 ;
7766 PyObject
* obj1
= 0 ;
7767 PyObject
* obj2
= 0 ;
7768 PyObject
* obj3
= 0 ;
7770 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 arg2
= wxString_in_helper(obj1
);
7778 if (arg2
== NULL
) SWIG_fail
;
7782 arg3
= (bool) SWIG_AsBool(obj2
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7786 arg4
= (bool) SWIG_AsBool(obj3
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7811 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7814 bool arg2
= (bool) True
;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7818 (char *) "self",(char *) "bShow", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7825 arg2
= (bool) SWIG_AsBool(obj1
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 Py_INCREF(Py_None
); resultobj
= Py_None
;
7842 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= wxPyMake_wxObject(result
);
7870 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7896 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "self", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7924 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "bDoPass", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7937 arg2
= (bool) SWIG_AsBool(obj1
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->PassMessages(arg2
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7956 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7958 return Py_BuildValue((char *)"");
7960 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxLog
*arg1
= (wxLog
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 (char *) "logger", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxLogChain
*)new wxLogChain(arg1
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7986 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7989 wxLog
*arg2
= (wxLog
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7991 PyObject
* obj1
= 0 ;
7993 (char *) "self",(char *) "logger", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->SetLog(arg2
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8022 (char *) "self",(char *) "bDoPass", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 arg2
= (bool) SWIG_AsBool(obj1
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 (arg1
)->PassMessages(arg2
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (bool)(arg1
)->IsPassingMessages();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8072 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (wxLog
*)(arg1
)->GetOldLog();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8098 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8101 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8103 return Py_BuildValue((char *)"");
8105 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 unsigned long result
;
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (unsigned long)wxSysErrorCode();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8127 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 unsigned long arg1
= (unsigned long) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "nErrCode", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8138 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= wxSysErrorMsg(arg1
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8161 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxString
*arg1
= 0 ;
8164 bool temp1
= False
;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "msg", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8172 arg1
= wxString_in_helper(obj0
);
8173 if (arg1
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxLogFatalError((wxString
const &)*arg1
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxString
*arg1
= 0 ;
8201 bool temp1
= False
;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "msg", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8209 arg1
= wxString_in_helper(obj0
);
8210 if (arg1
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 wxLogError((wxString
const &)*arg1
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8235 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxString
*arg1
= 0 ;
8238 bool temp1
= False
;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "msg", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8246 arg1
= wxString_in_helper(obj0
);
8247 if (arg1
== NULL
) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 wxLogWarning((wxString
const &)*arg1
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxString
*arg1
= 0 ;
8275 bool temp1
= False
;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "msg", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8283 arg1
= wxString_in_helper(obj0
);
8284 if (arg1
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 wxLogMessage((wxString
const &)*arg1
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxString
*arg1
= 0 ;
8312 bool temp1
= False
;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "msg", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8320 arg1
= wxString_in_helper(obj0
);
8321 if (arg1
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 wxLogInfo((wxString
const &)*arg1
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxString
*arg1
= 0 ;
8349 bool temp1
= False
;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "msg", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8357 arg1
= wxString_in_helper(obj0
);
8358 if (arg1
== NULL
) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 wxLogDebug((wxString
const &)*arg1
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxString
*arg1
= 0 ;
8386 bool temp1
= False
;
8387 PyObject
* obj0
= 0 ;
8389 (char *) "msg", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8394 arg1
= wxString_in_helper(obj0
);
8395 if (arg1
== NULL
) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 wxLogVerbose((wxString
const &)*arg1
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 Py_INCREF(Py_None
); resultobj
= Py_None
;
8420 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 wxString
*arg1
= 0 ;
8423 bool temp1
= False
;
8424 PyObject
* obj0
= 0 ;
8426 (char *) "msg", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8431 arg1
= wxString_in_helper(obj0
);
8432 if (arg1
== NULL
) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 wxLogStatus((wxString
const &)*arg1
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxFrame
*arg1
= (wxFrame
*) 0 ;
8460 wxString
*arg2
= 0 ;
8461 bool temp2
= False
;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8465 (char *) "pFrame",(char *) "msg", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 arg2
= wxString_in_helper(obj1
);
8473 if (arg2
== NULL
) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 Py_INCREF(Py_None
); resultobj
= Py_None
;
8498 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxString
*arg1
= 0 ;
8501 bool temp1
= False
;
8502 PyObject
* obj0
= 0 ;
8504 (char *) "msg", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8509 arg1
= wxString_in_helper(obj0
);
8510 if (arg1
== NULL
) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 wxLogSysError((wxString
const &)*arg1
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 Py_INCREF(Py_None
); resultobj
= Py_None
;
8535 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8536 PyObject
*resultobj
;
8537 unsigned long arg1
;
8538 wxString
*arg2
= 0 ;
8539 bool temp2
= False
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8543 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8544 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 arg2
= wxString_in_helper(obj1
);
8548 if (arg2
== NULL
) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8574 PyObject
*resultobj
;
8575 wxString
*arg1
= 0 ;
8576 wxString
*arg2
= 0 ;
8577 bool temp1
= False
;
8578 bool temp2
= False
;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8582 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8584 arg1
= wxString_in_helper(obj0
);
8585 if (arg1
== NULL
) SWIG_fail
;
8589 arg2
= wxString_in_helper(obj1
);
8590 if (arg2
== NULL
) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8623 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8628 argc
= PyObject_Length(args
);
8629 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8630 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8635 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8639 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8642 return _wrap_LogTrace__SWIG_1(self
,args
);
8648 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8651 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8654 return _wrap_LogTrace__SWIG_0(self
,args
);
8659 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8664 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 unsigned long arg1
;
8667 wxString
*arg2
= 0 ;
8668 bool temp2
= False
;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8672 (char *) "level",(char *) "msg", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8676 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 arg2
= wxString_in_helper(obj1
);
8680 if (arg2
== NULL
) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 Py_INCREF(Py_None
); resultobj
= Py_None
;
8705 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxString
*arg1
= 0 ;
8708 wxString
*arg2
= 0 ;
8709 bool temp1
= False
;
8710 bool temp2
= False
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "title",(char *) "text", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 arg1
= wxString_in_helper(obj0
);
8720 if (arg1
== NULL
) SWIG_fail
;
8724 arg2
= wxString_in_helper(obj1
);
8725 if (arg2
== NULL
) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 Py_INCREF(Py_None
); resultobj
= Py_None
;
8758 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxLogNull
*)new wxLogNull();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8780 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8808 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8810 return Py_BuildValue((char *)"");
8812 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (wxPyLog
*)new wxPyLog();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8834 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8837 PyObject
*arg2
= (PyObject
*) 0 ;
8838 PyObject
*arg3
= (PyObject
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8843 (char *) "self",(char *) "self",(char *) "_class", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8868 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8870 return Py_BuildValue((char *)"");
8872 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8875 int arg2
= (int) wxSIGTERM
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "pid",(char *) "sig", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8884 arg1
= (int) SWIG_AsInt(obj0
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_FromInt((int)result
);
8904 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8908 PyObject
* obj0
= 0 ;
8910 (char *) "pid", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8914 arg1
= (int) SWIG_AsInt(obj0
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (bool)wxPyProcess::Exists(arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8932 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxString
*arg1
= 0 ;
8935 int arg2
= (int) wxEXEC_ASYNC
;
8936 wxPyProcess
*result
;
8937 bool temp1
= False
;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8941 (char *) "cmd",(char *) "flags", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8946 arg1
= wxString_in_helper(obj0
);
8947 if (arg1
== NULL
) SWIG_fail
;
8951 arg2
= (int) SWIG_AsInt(obj1
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8976 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8979 int arg2
= (int) -1 ;
8980 wxPyProcess
*result
;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8984 (char *) "parent",(char *) "id", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 arg2
= (int) SWIG_AsInt(obj1
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9010 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9013 PyObject
*arg2
= (PyObject
*) 0 ;
9014 PyObject
*arg3
= (PyObject
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9019 (char *) "self",(char *) "self",(char *) "_class", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "pid",(char *) "status", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 arg2
= (int) SWIG_AsInt(obj1
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9058 arg3
= (int) SWIG_AsInt(obj2
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 (arg1
)->base_OnTerminate(arg2
,arg3
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9074 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9079 (char *) "self", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9105 (char *) "self", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)(arg1
)->IsRedirected();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9127 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9155 wxInputStream
*result
;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 wxPyInputStream
* _ptr
= NULL
;
9175 _ptr
= new wxPyInputStream(result
);
9177 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9185 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9188 wxInputStream
*result
;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 wxPyInputStream
* _ptr
= NULL
;
9208 _ptr
= new wxPyInputStream(result
);
9210 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9218 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9221 wxOutputStream
*result
;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9244 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 (arg1
)->CloseOutput();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9353 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9356 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9358 return Py_BuildValue((char *)"");
9360 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 int arg1
= (int) 0 ;
9363 int arg2
= (int) 0 ;
9364 int arg3
= (int) 0 ;
9365 wxProcessEvent
*result
;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 PyObject
* obj2
= 0 ;
9370 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9375 arg1
= (int) SWIG_AsInt(obj0
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 arg2
= (int) SWIG_AsInt(obj1
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 arg3
= (int) SWIG_AsInt(obj2
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9400 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (int)(arg1
)->GetPid();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_FromInt((int)result
);
9426 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (int)(arg1
)->GetExitCode();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_FromInt((int)result
);
9452 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9459 (char *) "self",(char *) "m_pid", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9465 arg2
= (int) SWIG_AsInt(obj1
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9467 if (arg1
) (arg1
)->m_pid
= arg2
;
9469 Py_INCREF(Py_None
); resultobj
= Py_None
;
9476 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9482 (char *) "self", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 result
= (int) ((arg1
)->m_pid
);
9490 resultobj
= SWIG_FromInt((int)result
);
9497 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9504 (char *) "self",(char *) "m_exitcode", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 arg2
= (int) SWIG_AsInt(obj1
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9512 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9514 Py_INCREF(Py_None
); resultobj
= Py_None
;
9521 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9533 result
= (int) ((arg1
)->m_exitcode
);
9535 resultobj
= SWIG_FromInt((int)result
);
9542 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9545 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9547 return Py_BuildValue((char *)"");
9549 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxString
*arg1
= 0 ;
9552 int arg2
= (int) wxEXEC_ASYNC
;
9553 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9555 bool temp1
= False
;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9558 PyObject
* obj2
= 0 ;
9560 (char *) "command",(char *) "flags",(char *) "process", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9565 arg1
= wxString_in_helper(obj0
);
9566 if (arg1
== NULL
) SWIG_fail
;
9570 arg2
= (int) SWIG_AsInt(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9574 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_FromLong((long)result
);
9599 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 int arg1
= (int) wxJOYSTICK1
;
9603 PyObject
* obj0
= 0 ;
9605 (char *) "joystick", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9610 arg1
= (int) SWIG_AsInt(obj0
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxJoystick
*)new wxJoystick(arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9627 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 Py_INCREF(Py_None
); resultobj
= Py_None
;
9652 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "self", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (arg1
)->GetPosition();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 wxPoint
* resultptr
;
9673 resultptr
= new wxPoint((wxPoint
&) result
);
9674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9682 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (int)(arg1
)->GetZPosition();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_FromInt((int)result
);
9708 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (int)(arg1
)->GetButtonState();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_FromInt((int)result
);
9734 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (int)(arg1
)->GetPOVPosition();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_FromInt((int)result
);
9760 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (int)(arg1
)->GetPOVCTSPosition();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_FromInt((int)result
);
9786 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (int)(arg1
)->GetRudderPosition();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_FromInt((int)result
);
9812 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9816 PyObject
* obj0
= 0 ;
9818 (char *) "self", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (int)(arg1
)->GetUPosition();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_FromInt((int)result
);
9838 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (int)(arg1
)->GetVPosition();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_FromInt((int)result
);
9864 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9870 (char *) "self", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (int)(arg1
)->GetMovementThreshold();
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_FromInt((int)result
);
9890 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9897 (char *) "self",(char *) "threshold", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9903 arg2
= (int) SWIG_AsInt(obj1
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 (arg1
)->SetMovementThreshold(arg2
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 Py_INCREF(Py_None
); resultobj
= Py_None
;
9919 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->IsOk();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (int)(arg1
)->GetNumberJoysticks();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_FromInt((int)result
);
9973 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)(arg1
)->GetManufacturerId();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_FromInt((int)result
);
9999 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (int)(arg1
)->GetProductId();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_FromInt((int)result
);
10025 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (arg1
)->GetProductName();
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10057 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)(arg1
)->GetXMin();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_FromInt((int)result
);
10083 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (int)(arg1
)->GetYMin();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_FromInt((int)result
);
10109 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->GetZMin();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_FromInt((int)result
);
10135 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (int)(arg1
)->GetXMax();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_FromInt((int)result
);
10161 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (int)(arg1
)->GetYMax();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_FromInt((int)result
);
10187 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (int)(arg1
)->GetZMax();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_FromInt((int)result
);
10213 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (int)(arg1
)->GetNumberButtons();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= SWIG_FromInt((int)result
);
10239 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (int)(arg1
)->GetNumberAxes();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_FromInt((int)result
);
10265 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (int)(arg1
)->GetMaxButtons();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_FromInt((int)result
);
10291 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (int)(arg1
)->GetMaxAxes();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_FromInt((int)result
);
10317 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (int)(arg1
)->GetPollingMin();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_FromInt((int)result
);
10343 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "self", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (int)(arg1
)->GetPollingMax();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_FromInt((int)result
);
10369 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10373 PyObject
* obj0
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (int)(arg1
)->GetRudderMin();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_FromInt((int)result
);
10395 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)(arg1
)->GetRudderMax();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_FromInt((int)result
);
10421 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (int)(arg1
)->GetUMin();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_FromInt((int)result
);
10447 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10451 PyObject
* obj0
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (int)(arg1
)->GetUMax();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_FromInt((int)result
);
10473 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (int)(arg1
)->GetVMin();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 resultobj
= SWIG_FromInt((int)result
);
10499 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (int)(arg1
)->GetVMax();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_FromInt((int)result
);
10525 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (bool)(arg1
)->HasRudder();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10553 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
;
10555 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10557 PyObject
* obj0
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (bool)(arg1
)->HasZ();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10581 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (bool)(arg1
)->HasU();
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10609 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (bool)(arg1
)->HasV();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10637 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->HasPOV();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10665 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (bool)(arg1
)->HasPOV4Dir();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10693 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (bool)(arg1
)->HasPOVCTS();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10724 wxWindow
*arg2
= (wxWindow
*) 0 ;
10725 int arg3
= (int) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 PyObject
* obj2
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg3
= (int) SWIG_AsInt(obj2
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10759 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (bool)(arg1
)->ReleaseCapture();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10790 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10792 return Py_BuildValue((char *)"");
10794 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10797 wxPoint
*arg2
= (wxPoint
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self",(char *) "m_pos", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 if (arg1
) (arg1
)->m_pos
= *arg2
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10839 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "m_zPosition", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= (int) SWIG_AsInt(obj1
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10854 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10856 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10875 result
= (int) ((arg1
)->m_zPosition
);
10877 resultobj
= SWIG_FromInt((int)result
);
10884 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self",(char *) "m_buttonChange", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10897 arg2
= (int) SWIG_AsInt(obj1
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10899 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10920 result
= (int) ((arg1
)->m_buttonChange
);
10922 resultobj
= SWIG_FromInt((int)result
);
10929 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "m_buttonState", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 arg2
= (int) SWIG_AsInt(obj1
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10944 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10965 result
= (int) ((arg1
)->m_buttonState
);
10967 resultobj
= SWIG_FromInt((int)result
);
10974 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "m_joyStick", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 arg2
= (int) SWIG_AsInt(obj1
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10989 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11010 result
= (int) ((arg1
)->m_joyStick
);
11012 resultobj
= SWIG_FromInt((int)result
);
11019 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11022 int arg2
= (int) 0 ;
11023 int arg3
= (int) wxJOYSTICK1
;
11024 int arg4
= (int) 0 ;
11025 wxJoystickEvent
*result
;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 PyObject
* obj2
= 0 ;
11029 PyObject
* obj3
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11036 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 arg2
= (int) SWIG_AsInt(obj1
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 arg3
= (int) SWIG_AsInt(obj2
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 arg4
= (int) SWIG_AsInt(obj3
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11065 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 wxPoint
* resultptr
;
11086 resultptr
= new wxPoint((wxPoint
&) result
);
11087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11095 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_FromInt((int)result
);
11121 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_FromInt((int)result
);
11147 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_FromInt((int)result
);
11173 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_FromInt((int)result
);
11199 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "stick", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 arg2
= (int) SWIG_AsInt(obj1
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 (arg1
)->SetJoystick(arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 Py_INCREF(Py_None
); resultobj
= Py_None
;
11228 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self",(char *) "state", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11241 arg2
= (int) SWIG_AsInt(obj1
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->SetButtonState(arg2
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "change", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 arg2
= (int) SWIG_AsInt(obj1
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 (arg1
)->SetButtonChange(arg2
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 Py_INCREF(Py_None
); resultobj
= Py_None
;
11286 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11289 wxPoint
*arg2
= 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self",(char *) "pos", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "zPos", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11331 arg2
= (int) SWIG_AsInt(obj1
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 (arg1
)->SetZPosition(arg2
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 Py_INCREF(Py_None
); resultobj
= Py_None
;
11347 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11375 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11403 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11431 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11434 int arg2
= (int) wxJOY_BUTTON_ANY
;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self",(char *) "but", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11446 arg2
= (int) SWIG_AsInt(obj1
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11465 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11468 int arg2
= (int) wxJOY_BUTTON_ANY
;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self",(char *) "but", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11480 arg2
= (int) SWIG_AsInt(obj1
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11499 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11502 int arg2
= (int) wxJOY_BUTTON_ANY
;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self",(char *) "but", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11514 arg2
= (int) SWIG_AsInt(obj1
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11533 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11536 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11538 return Py_BuildValue((char *)"");
11540 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11543 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11545 bool temp1
= False
;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "fileName", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11554 arg1
= wxString_in_helper(obj0
);
11555 if (arg1
== NULL
) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11581 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 PyObject
*arg1
= (PyObject
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "data", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (wxSound
*)new_wxSound(arg1
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11606 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxSound
*arg1
= (wxSound
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11631 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxSound
*arg1
= (wxSound
*) 0 ;
11634 wxString
*arg2
= 0 ;
11636 bool temp2
= False
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "fileName", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11647 arg2
= wxString_in_helper(obj1
);
11648 if (arg2
== NULL
) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11675 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxSound
*arg1
= (wxSound
*) 0 ;
11678 PyObject
*arg2
= (PyObject
*) 0 ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "data", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11706 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxSound
*arg1
= (wxSound
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (bool)(arg1
)->IsOk();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11734 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxSound
*arg1
= (wxSound
*) 0 ;
11737 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "flags", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11749 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11768 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxString
*arg1
= 0 ;
11771 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11773 bool temp1
= False
;
11774 PyObject
* obj0
= 0 ;
11775 PyObject
* obj1
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "filename",(char *) "flags", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11782 arg1
= wxString_in_helper(obj0
);
11783 if (arg1
== NULL
) SWIG_fail
;
11787 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11814 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
;
11816 char *kwnames
[] = {
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 Py_INCREF(Py_None
); resultobj
= Py_None
;
11835 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11838 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11840 return Py_BuildValue((char *)"");
11842 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxString
*arg1
= 0 ;
11845 wxString
*arg2
= 0 ;
11846 wxString
*arg3
= 0 ;
11847 wxString
*arg4
= 0 ;
11848 wxFileTypeInfo
*result
;
11849 bool temp1
= False
;
11850 bool temp2
= False
;
11851 bool temp3
= False
;
11852 bool temp4
= False
;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 PyObject
* obj2
= 0 ;
11856 PyObject
* obj3
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11863 arg1
= wxString_in_helper(obj0
);
11864 if (arg1
== NULL
) SWIG_fail
;
11868 arg2
= wxString_in_helper(obj1
);
11869 if (arg2
== NULL
) SWIG_fail
;
11873 arg3
= wxString_in_helper(obj2
);
11874 if (arg3
== NULL
) SWIG_fail
;
11878 arg4
= wxString_in_helper(obj3
);
11879 if (arg4
== NULL
) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11928 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxArrayString
*arg1
= 0 ;
11931 wxFileTypeInfo
*result
;
11932 bool temp1
= False
;
11933 PyObject
* obj0
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "sArray", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11940 if (! PySequence_Check(obj0
)) {
11941 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11944 arg1
= new wxArrayString
;
11946 int i
, len
=PySequence_Length(obj0
);
11947 for (i
=0; i
<len
; i
++) {
11948 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11950 PyObject
* str
= PyObject_Unicode(item
);
11952 PyObject
* str
= PyObject_Str(item
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11955 arg1
->Add(Py2wxString(str
));
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11969 if (temp1
) delete arg1
;
11974 if (temp1
) delete arg1
;
11980 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxFileTypeInfo
*result
;
11983 char *kwnames
[] = {
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12002 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12030 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12033 wxString
*arg2
= 0 ;
12034 int arg3
= (int) 0 ;
12035 bool temp2
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 PyObject
* obj2
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 arg2
= wxString_in_helper(obj1
);
12048 if (arg2
== NULL
) SWIG_fail
;
12052 arg3
= (int) SWIG_AsInt(obj2
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12080 wxString
*arg2
= 0 ;
12081 bool temp2
= False
;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self",(char *) "shortDesc", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 arg2
= wxString_in_helper(obj1
);
12093 if (arg2
== NULL
) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12118 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12134 result
= (wxString
*) &_result_ref
;
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12153 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12169 result
= (wxString
*) &_result_ref
;
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12188 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12204 result
= (wxString
*) &_result_ref
;
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12223 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12239 result
= (wxString
*) &_result_ref
;
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12249 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12258 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12274 result
= (wxString
*) &_result_ref
;
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12284 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12293 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12296 wxArrayString
*result
;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12309 result
= (wxArrayString
*) &_result_ref
;
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= wxArrayString2PyList_helper(*result
);
12324 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_FromInt((int)result
);
12350 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12366 result
= (wxString
*) &_result_ref
;
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12385 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= SWIG_FromInt((int)result
);
12411 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12414 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12416 return Py_BuildValue((char *)"");
12418 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxFileTypeInfo
*arg1
= 0 ;
12421 wxFileType
*result
;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "ftInfo", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12431 if (arg1
== NULL
) {
12432 PyErr_SetString(PyExc_TypeError
,"null reference");
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12449 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxFileType
*arg1
= (wxFileType
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 Py_INCREF(Py_None
); resultobj
= Py_None
;
12474 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFileType
*arg1
= (wxFileType
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
;
12500 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFileType
*arg1
= (wxFileType
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= result
;
12526 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFileType
*arg1
= (wxFileType
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= result
;
12552 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxFileType
*arg1
= (wxFileType
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12578 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxFileType
*arg1
= (wxFileType
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= result
;
12604 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxFileType
*arg1
= (wxFileType
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= result
;
12630 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxFileType
*arg1
= (wxFileType
*) 0 ;
12633 wxString
*arg2
= 0 ;
12634 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12637 bool temp2
= False
;
12638 bool temp3
= False
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 PyObject
* obj2
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 arg2
= wxString_in_helper(obj1
);
12651 if (arg2
== NULL
) SWIG_fail
;
12656 arg3
= wxString_in_helper(obj2
);
12657 if (arg3
== NULL
) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= result
;
12691 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxFileType
*arg1
= (wxFileType
*) 0 ;
12694 wxString
*arg2
= 0 ;
12695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12698 bool temp2
= False
;
12699 bool temp3
= False
;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 PyObject
* obj2
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12711 arg2
= wxString_in_helper(obj1
);
12712 if (arg2
== NULL
) SWIG_fail
;
12717 arg3
= wxString_in_helper(obj2
);
12718 if (arg3
== NULL
) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= result
;
12752 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxFileType
*arg1
= (wxFileType
*) 0 ;
12755 wxString
*arg2
= 0 ;
12756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12759 bool temp2
= False
;
12760 bool temp3
= False
;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 PyObject
* obj2
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 arg2
= wxString_in_helper(obj1
);
12773 if (arg2
== NULL
) SWIG_fail
;
12778 arg3
= wxString_in_helper(obj2
);
12779 if (arg3
== NULL
) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
;
12813 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxFileType
*arg1
= (wxFileType
*) 0 ;
12816 wxString
*arg2
= 0 ;
12817 wxString
*arg3
= 0 ;
12818 bool arg4
= (bool) True
;
12820 bool temp2
= False
;
12821 bool temp3
= False
;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 PyObject
* obj3
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12834 arg2
= wxString_in_helper(obj1
);
12835 if (arg2
== NULL
) SWIG_fail
;
12839 arg3
= wxString_in_helper(obj2
);
12840 if (arg3
== NULL
) SWIG_fail
;
12844 arg4
= (bool) SWIG_AsBool(obj3
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12879 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxFileType
*arg1
= (wxFileType
*) 0 ;
12882 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12883 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12884 int arg3
= (int) 0 ;
12886 bool temp2
= False
;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 PyObject
* obj2
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self",(char *) "cmd",(char *) "index", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 arg2
= wxString_in_helper(obj1
);
12900 if (arg2
== NULL
) SWIG_fail
;
12905 arg3
= (int) SWIG_AsInt(obj2
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12932 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
;
12934 wxFileType
*arg1
= (wxFileType
*) 0 ;
12936 PyObject
* obj0
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (bool)(arg1
)->Unassociate();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12960 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxString
*arg1
= 0 ;
12963 wxString
*arg2
= 0 ;
12964 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12965 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12967 bool temp1
= False
;
12968 bool temp2
= False
;
12969 bool temp3
= False
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12979 arg1
= wxString_in_helper(obj0
);
12980 if (arg1
== NULL
) SWIG_fail
;
12984 arg2
= wxString_in_helper(obj1
);
12985 if (arg2
== NULL
) SWIG_fail
;
12990 arg3
= wxString_in_helper(obj2
);
12991 if (arg3
== NULL
) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13039 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13042 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13044 return Py_BuildValue((char *)"");
13046 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13047 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13052 static PyObject
*_wrap_TheMimeTypesManager_get() {
13055 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13060 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxString
*arg1
= 0 ;
13063 wxString
*arg2
= 0 ;
13065 bool temp1
= False
;
13066 bool temp2
= False
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "mimeType",(char *) "wildcard", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13075 arg1
= wxString_in_helper(obj0
);
13076 if (arg1
== NULL
) SWIG_fail
;
13080 arg2
= wxString_in_helper(obj1
);
13081 if (arg2
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13116 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxMimeTypesManager
*result
;
13119 char *kwnames
[] = {
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13138 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13141 int arg2
= (int) wxMAILCAP_ALL
;
13142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13144 bool temp3
= False
;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 PyObject
* obj2
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 arg2
= (int) SWIG_AsInt(obj1
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13161 arg3
= wxString_in_helper(obj2
);
13162 if (arg3
== NULL
) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->ClearData();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13213 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13216 wxString
*arg2
= 0 ;
13217 wxFileType
*result
;
13218 bool temp2
= False
;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "ext", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13229 arg2
= wxString_in_helper(obj1
);
13230 if (arg2
== NULL
) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13255 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13258 wxString
*arg2
= 0 ;
13259 wxFileType
*result
;
13260 bool temp2
= False
;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "mimeType", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= wxString_in_helper(obj1
);
13272 if (arg2
== NULL
) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13297 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13300 wxString
*arg2
= 0 ;
13301 bool arg3
= (bool) False
;
13303 bool temp2
= False
;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= wxString_in_helper(obj1
);
13316 if (arg2
== NULL
) SWIG_fail
;
13320 arg3
= (bool) SWIG_AsBool(obj2
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13347 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13350 wxString
*arg2
= 0 ;
13352 bool temp2
= False
;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self",(char *) "filename", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 arg2
= wxString_in_helper(obj1
);
13364 if (arg2
== NULL
) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13391 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= result
;
13417 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13420 wxFileTypeInfo
*arg2
= 0 ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self",(char *) "ft", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13433 if (arg2
== NULL
) {
13434 PyErr_SetString(PyExc_TypeError
,"null reference");
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13454 wxFileTypeInfo
*arg2
= 0 ;
13455 wxFileType
*result
;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "ftInfo", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13468 if (arg2
== NULL
) {
13469 PyErr_SetString(PyExc_TypeError
,"null reference");
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13486 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13489 wxFileType
*arg2
= (wxFileType
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "ft", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (bool)(arg1
)->Unassociate(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 Py_INCREF(Py_None
); resultobj
= Py_None
;
13543 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13548 return Py_BuildValue((char *)"");
13550 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13551 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13556 static PyObject
*_wrap_ART_TOOLBAR_get() {
13561 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13563 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13570 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13571 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13576 static PyObject
*_wrap_ART_MENU_get() {
13581 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13583 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13590 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13591 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13596 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13601 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13603 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13610 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13611 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13616 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13621 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13623 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13630 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13631 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13636 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13641 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13643 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13650 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13651 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13656 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13661 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13663 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13670 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13671 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13676 static PyObject
*_wrap_ART_OTHER_get() {
13681 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13683 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13690 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13691 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13696 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13701 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13703 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13710 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13711 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13716 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13721 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13723 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13730 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13731 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13736 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13741 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13743 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13750 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13751 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13756 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13761 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13763 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13770 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13771 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13776 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13781 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13783 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13790 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13791 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13796 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13801 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13803 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13810 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13811 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13816 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13821 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13823 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13830 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13831 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13836 static PyObject
*_wrap_ART_GO_BACK_get() {
13841 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13843 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13850 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13851 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13856 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13861 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13863 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13870 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13871 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13876 static PyObject
*_wrap_ART_GO_UP_get() {
13881 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13883 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13890 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13891 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13896 static PyObject
*_wrap_ART_GO_DOWN_get() {
13901 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13903 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13910 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13911 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13916 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13921 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13923 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13930 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13931 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13936 static PyObject
*_wrap_ART_GO_HOME_get() {
13941 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13943 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13950 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13951 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13956 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13961 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13963 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13970 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13971 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13976 static PyObject
*_wrap_ART_PRINT_get() {
13981 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13983 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13990 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13991 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13996 static PyObject
*_wrap_ART_HELP_get() {
14001 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14003 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14010 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14011 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14016 static PyObject
*_wrap_ART_TIP_get() {
14021 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14023 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14030 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14031 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14036 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14041 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14043 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14050 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14051 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14056 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14061 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14063 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14070 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14071 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14076 static PyObject
*_wrap_ART_NEW_DIR_get() {
14081 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14090 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14091 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14096 static PyObject
*_wrap_ART_FOLDER_get() {
14101 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14103 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14110 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14111 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14116 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14121 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14123 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14130 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14131 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14136 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14141 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14143 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14150 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14151 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14156 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14161 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14163 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14170 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14171 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14176 static PyObject
*_wrap_ART_TICK_MARK_get() {
14181 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14183 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14190 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14191 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14196 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14201 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14203 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14210 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14211 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14216 static PyObject
*_wrap_ART_ERROR_get() {
14221 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14223 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14230 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14231 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14236 static PyObject
*_wrap_ART_QUESTION_get() {
14241 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14243 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14250 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14251 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14256 static PyObject
*_wrap_ART_WARNING_get() {
14261 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14263 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14270 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14271 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14276 static PyObject
*_wrap_ART_INFORMATION_get() {
14281 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14283 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14290 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14291 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14296 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14301 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14303 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14310 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxPyArtProvider
*result
;
14313 char *kwnames
[] = {
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14332 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14335 PyObject
*arg2
= (PyObject
*) 0 ;
14336 PyObject
*arg3
= (PyObject
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 PyObject
* obj2
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self",(char *) "self",(char *) "_class", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "provider", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 wxPyArtProvider::PushProvider(arg1
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 Py_INCREF(Py_None
); resultobj
= Py_None
;
14388 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14391 char *kwnames
[] = {
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (bool)wxPyArtProvider::PopProvider();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14412 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "provider", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14440 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxString
*arg1
= 0 ;
14443 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14444 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14445 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14446 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14448 bool temp1
= False
;
14449 bool temp2
= False
;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "id",(char *) "client",(char *) "size", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14460 arg1
= wxString_in_helper(obj0
);
14461 if (arg1
== NULL
) SWIG_fail
;
14466 arg2
= wxString_in_helper(obj1
);
14467 if (arg2
== NULL
) SWIG_fail
;
14474 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 wxBitmap
* resultptr
;
14486 resultptr
= new wxBitmap((wxBitmap
&) result
);
14487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14511 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxString
*arg1
= 0 ;
14514 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14515 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14516 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14517 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14519 bool temp1
= False
;
14520 bool temp2
= False
;
14522 PyObject
* obj0
= 0 ;
14523 PyObject
* obj1
= 0 ;
14524 PyObject
* obj2
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "id",(char *) "client",(char *) "size", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14531 arg1
= wxString_in_helper(obj0
);
14532 if (arg1
== NULL
) SWIG_fail
;
14537 arg2
= wxString_in_helper(obj1
);
14538 if (arg2
== NULL
) SWIG_fail
;
14545 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14556 wxIcon
* resultptr
;
14557 resultptr
= new wxIcon((wxIcon
&) result
);
14558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14582 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 wxPyArtProvider_Destroy(arg1
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 Py_INCREF(Py_None
); resultobj
= Py_None
;
14607 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14610 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14612 return Py_BuildValue((char *)"");
14614 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 Py_INCREF(Py_None
); resultobj
= Py_None
;
14639 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14642 wxConfigBase
*result
;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "config", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14665 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 bool arg1
= (bool) True
;
14668 wxConfigBase
*result
;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "createOnDemand", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14676 arg1
= (bool) SWIG_AsBool(obj0
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14693 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxConfigBase
*result
;
14696 char *kwnames
[] = {
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxConfigBase
*)wxConfigBase::Create();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14715 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 char *kwnames
[] = {
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 wxConfigBase::DontCreateOnDemand();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14739 wxString
*arg2
= 0 ;
14740 bool temp2
= False
;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "path", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 arg2
= wxString_in_helper(obj1
);
14752 if (arg2
== NULL
) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 (arg1
)->SetPath((wxString
const &)*arg2
);
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 Py_INCREF(Py_None
); resultobj
= Py_None
;
14777 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14793 result
= (wxString
*) &_result_ref
;
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14803 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14812 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= result
;
14838 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "index", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 arg2
= (long) SWIG_AsLong(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
;
14868 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= result
;
14894 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self",(char *) "index", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 arg2
= (long) SWIG_AsLong(obj1
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= result
;
14924 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14927 bool arg2
= (bool) False
;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self",(char *) "recursive", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 arg2
= (bool) SWIG_AsBool(obj1
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14956 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14959 bool arg2
= (bool) False
;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "recursive", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 arg2
= (bool) SWIG_AsBool(obj1
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14988 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14991 wxString
*arg2
= 0 ;
14993 bool temp2
= False
;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "name", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 arg2
= wxString_in_helper(obj1
);
15005 if (arg2
== NULL
) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15032 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15035 wxString
*arg2
= 0 ;
15037 bool temp2
= False
;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self",(char *) "name", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15048 arg2
= wxString_in_helper(obj1
);
15049 if (arg2
== NULL
) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15076 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15079 wxString
*arg2
= 0 ;
15081 bool temp2
= False
;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self",(char *) "name", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15092 arg2
= wxString_in_helper(obj1
);
15093 if (arg2
== NULL
) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15120 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15123 wxString
*arg2
= 0 ;
15125 bool temp2
= False
;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "name", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 arg2
= wxString_in_helper(obj1
);
15137 if (arg2
== NULL
) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_FromInt((int)result
);
15162 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15165 wxString
*arg2
= 0 ;
15166 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15167 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15169 bool temp2
= False
;
15170 bool temp3
= False
;
15171 PyObject
* obj0
= 0 ;
15172 PyObject
* obj1
= 0 ;
15173 PyObject
* obj2
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 arg2
= wxString_in_helper(obj1
);
15183 if (arg2
== NULL
) SWIG_fail
;
15188 arg3
= wxString_in_helper(obj2
);
15189 if (arg3
== NULL
) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15229 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15232 wxString
*arg2
= 0 ;
15233 long arg3
= (long) 0 ;
15235 bool temp2
= False
;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 arg2
= wxString_in_helper(obj1
);
15248 if (arg2
== NULL
) SWIG_fail
;
15252 arg3
= (long) SWIG_AsLong(obj2
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_FromLong((long)result
);
15277 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15280 wxString
*arg2
= 0 ;
15281 double arg3
= (double) 0.0 ;
15283 bool temp2
= False
;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 arg2
= wxString_in_helper(obj1
);
15296 if (arg2
== NULL
) SWIG_fail
;
15300 arg3
= (double) SWIG_AsDouble(obj2
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_FromDouble((double)result
);
15325 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15328 wxString
*arg2
= 0 ;
15329 bool arg3
= (bool) False
;
15331 bool temp2
= False
;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 PyObject
* obj2
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 arg2
= wxString_in_helper(obj1
);
15344 if (arg2
== NULL
) SWIG_fail
;
15348 arg3
= (bool) SWIG_AsBool(obj2
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15378 wxString
*arg2
= 0 ;
15379 wxString
*arg3
= 0 ;
15381 bool temp2
= False
;
15382 bool temp3
= False
;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 PyObject
* obj2
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "key",(char *) "value", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 arg2
= wxString_in_helper(obj1
);
15395 if (arg2
== NULL
) SWIG_fail
;
15399 arg3
= wxString_in_helper(obj2
);
15400 if (arg3
== NULL
) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15435 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15438 wxString
*arg2
= 0 ;
15441 bool temp2
= False
;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 PyObject
* obj2
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "key",(char *) "value", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 arg2
= wxString_in_helper(obj1
);
15454 if (arg2
== NULL
) SWIG_fail
;
15457 arg3
= (long) SWIG_AsLong(obj2
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15483 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15486 wxString
*arg2
= 0 ;
15489 bool temp2
= False
;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 PyObject
* obj2
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "key",(char *) "value", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 arg2
= wxString_in_helper(obj1
);
15502 if (arg2
== NULL
) SWIG_fail
;
15505 arg3
= (double) SWIG_AsDouble(obj2
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15534 wxString
*arg2
= 0 ;
15537 bool temp2
= False
;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 PyObject
* obj2
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self",(char *) "key",(char *) "value", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 arg2
= wxString_in_helper(obj1
);
15550 if (arg2
== NULL
) SWIG_fail
;
15553 arg3
= (bool) SWIG_AsBool(obj2
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15579 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15582 bool arg2
= (bool) False
;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self",(char *) "currentOnly", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 arg2
= (bool) SWIG_AsBool(obj1
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (bool)(arg1
)->Flush(arg2
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15613 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15616 wxString
*arg2
= 0 ;
15617 wxString
*arg3
= 0 ;
15619 bool temp2
= False
;
15620 bool temp3
= False
;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 PyObject
* obj2
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 arg2
= wxString_in_helper(obj1
);
15633 if (arg2
== NULL
) SWIG_fail
;
15637 arg3
= wxString_in_helper(obj2
);
15638 if (arg3
== NULL
) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15673 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15676 wxString
*arg2
= 0 ;
15677 wxString
*arg3
= 0 ;
15679 bool temp2
= False
;
15680 bool temp3
= False
;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 PyObject
* obj2
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 arg2
= wxString_in_helper(obj1
);
15693 if (arg2
== NULL
) SWIG_fail
;
15697 arg3
= wxString_in_helper(obj2
);
15698 if (arg3
== NULL
) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15733 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15736 wxString
*arg2
= 0 ;
15737 bool arg3
= (bool) True
;
15739 bool temp2
= False
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 arg2
= wxString_in_helper(obj1
);
15752 if (arg2
== NULL
) SWIG_fail
;
15756 arg3
= (bool) SWIG_AsBool(obj2
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15783 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15786 wxString
*arg2
= 0 ;
15788 bool temp2
= False
;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "key", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 arg2
= wxString_in_helper(obj1
);
15800 if (arg2
== NULL
) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15827 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15831 PyObject
* obj0
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (bool)(arg1
)->DeleteAll();
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15855 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15858 bool arg2
= (bool) True
;
15859 PyObject
* obj0
= 0 ;
15860 PyObject
* obj1
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "self",(char *) "doIt", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15869 arg2
= (bool) SWIG_AsBool(obj1
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 (arg1
)->SetExpandEnvVars(arg2
);
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 Py_INCREF(Py_None
); resultobj
= Py_None
;
15886 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15914 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15917 bool arg2
= (bool) True
;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "doIt", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 arg2
= (bool) SWIG_AsBool(obj1
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->SetRecordDefaults(arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 Py_INCREF(Py_None
); resultobj
= Py_None
;
15945 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15973 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15976 wxString
*arg2
= 0 ;
15978 bool temp2
= False
;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self",(char *) "str", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15989 arg2
= wxString_in_helper(obj1
);
15990 if (arg2
== NULL
) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16021 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16053 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16085 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16088 wxString
*arg2
= 0 ;
16089 bool temp2
= False
;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "appName", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 arg2
= wxString_in_helper(obj1
);
16101 if (arg2
== NULL
) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->SetAppName((wxString
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16129 wxString
*arg2
= 0 ;
16130 bool temp2
= False
;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "vendorName", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 arg2
= wxString_in_helper(obj1
);
16142 if (arg2
== NULL
) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 Py_INCREF(Py_None
); resultobj
= Py_None
;
16167 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self",(char *) "style", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16180 arg2
= (long) SWIG_AsLong(obj1
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 (arg1
)->SetStyle(arg2
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_FromLong((long)result
);
16222 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16225 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16227 return Py_BuildValue((char *)"");
16229 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16232 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16233 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16234 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16237 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16238 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16239 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16241 bool temp1
= False
;
16242 bool temp2
= False
;
16243 bool temp3
= False
;
16244 bool temp4
= False
;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 PyObject
* obj2
= 0 ;
16248 PyObject
* obj3
= 0 ;
16249 PyObject
* obj4
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16257 arg1
= wxString_in_helper(obj0
);
16258 if (arg1
== NULL
) SWIG_fail
;
16264 arg2
= wxString_in_helper(obj1
);
16265 if (arg2
== NULL
) SWIG_fail
;
16271 arg3
= wxString_in_helper(obj2
);
16272 if (arg3
== NULL
) SWIG_fail
;
16278 arg4
= wxString_in_helper(obj3
);
16279 if (arg4
== NULL
) SWIG_fail
;
16284 arg5
= (long) SWIG_AsLong(obj4
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16333 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxConfig
*arg1
= (wxConfig
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16361 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16363 return Py_BuildValue((char *)"");
16365 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16368 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16369 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16370 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16373 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16374 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16375 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16376 wxFileConfig
*result
;
16377 bool temp1
= False
;
16378 bool temp2
= False
;
16379 bool temp3
= False
;
16380 bool temp4
= False
;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 PyObject
* obj2
= 0 ;
16384 PyObject
* obj3
= 0 ;
16385 PyObject
* obj4
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16393 arg1
= wxString_in_helper(obj0
);
16394 if (arg1
== NULL
) SWIG_fail
;
16400 arg2
= wxString_in_helper(obj1
);
16401 if (arg2
== NULL
) SWIG_fail
;
16407 arg3
= wxString_in_helper(obj2
);
16408 if (arg3
== NULL
) SWIG_fail
;
16414 arg4
= wxString_in_helper(obj3
);
16415 if (arg4
== NULL
) SWIG_fail
;
16420 arg5
= (long) SWIG_AsLong(obj4
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16469 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16497 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16499 return Py_BuildValue((char *)"");
16501 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16504 wxString
*arg2
= 0 ;
16505 wxConfigPathChanger
*result
;
16506 bool temp2
= False
;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "config",(char *) "entry", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16517 arg2
= wxString_in_helper(obj1
);
16518 if (arg2
== NULL
) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16543 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16584 result
= (wxString
*) &_result_ref
;
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16603 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16606 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16608 return Py_BuildValue((char *)"");
16610 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxString
*arg1
= 0 ;
16614 bool temp1
= False
;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "sz", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16622 arg1
= wxString_in_helper(obj0
);
16623 if (arg1
== NULL
) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16654 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16655 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16660 static PyObject
*_wrap_DateFormatStr_get() {
16665 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16667 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16674 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16675 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16680 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16685 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16687 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16694 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "country", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16703 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 Py_INCREF(Py_None
); resultobj
= Py_None
;
16719 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16722 char *kwnames
[] = {
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (int)wxDateTime::GetCountry();
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= SWIG_FromInt((int)result
);
16741 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 int arg1
= (int) wxDateTime::Country_Default
;
16745 PyObject
* obj0
= 0 ;
16746 char *kwnames
[] = {
16747 (char *) "country", NULL
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16752 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16771 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 int arg1
= (int) wxDateTime::Gregorian
;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "cal", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16782 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_FromInt((int)result
);
16799 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "year", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16809 arg1
= (int) SWIG_AsInt(obj0
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= SWIG_FromInt((int)result
);
16825 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 int arg1
= (int) wxDateTime::Gregorian
;
16829 PyObject
* obj0
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "cal", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16836 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= SWIG_FromInt((int)result
);
16853 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 int arg1
= (int) wxDateTime::Inv_Year
;
16856 int arg2
= (int) wxDateTime::Gregorian
;
16858 PyObject
* obj0
= 0 ;
16859 PyObject
* obj1
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "year",(char *) "cal", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16866 arg1
= (int) SWIG_AsInt(obj0
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16889 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 int arg1
= (int) wxDateTime::Inv_Year
;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "year", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16900 arg1
= (int) SWIG_AsInt(obj0
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (int)wxDateTime::GetCentury(arg1
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_FromInt((int)result
);
16917 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16920 int arg2
= (int) wxDateTime::Gregorian
;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "year",(char *) "cal", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16929 arg1
= (int) SWIG_AsInt(obj0
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_FromInt((int)result
);
16949 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16952 int arg2
= (int) wxDateTime::Inv_Year
;
16953 int arg3
= (int) wxDateTime::Gregorian
;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 PyObject
* obj2
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "month",(char *) "year",(char *) "cal", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16963 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 arg2
= (int) SWIG_AsInt(obj1
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_FromInt((int)result
);
16987 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16990 int arg2
= (int) wxDateTime::Name_Full
;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "month",(char *) "flags", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16999 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17025 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17028 int arg2
= (int) wxDateTime::Name_Full
;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "weekday",(char *) "flags", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17037 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17063 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxString
*arg1
= (wxString
*) 0 ;
17066 wxString
*arg2
= (wxString
*) 0 ;
17067 bool temp1
= False
;
17068 bool temp2
= False
;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17077 arg1
= wxString_in_helper(obj0
);
17078 if (arg1
== NULL
) SWIG_fail
;
17082 arg2
= wxString_in_helper(obj1
);
17083 if (arg2
== NULL
) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 Py_INCREF(Py_None
); resultobj
= Py_None
;
17116 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 int arg1
= (int) wxDateTime::Inv_Year
;
17119 int arg2
= (int) wxDateTime::Country_Default
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "year",(char *) "country", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17129 arg1
= (int) SWIG_AsInt(obj0
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17152 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 int arg1
= (int) wxDateTime::Inv_Year
;
17155 int arg2
= (int) wxDateTime::Country_Default
;
17157 PyObject
* obj0
= 0 ;
17158 PyObject
* obj1
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "year",(char *) "country", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17165 arg1
= (int) SWIG_AsInt(obj0
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17180 wxDateTime
* resultptr
;
17181 resultptr
= new wxDateTime((wxDateTime
&) result
);
17182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17190 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 int arg1
= (int) wxDateTime::Inv_Year
;
17193 int arg2
= (int) wxDateTime::Country_Default
;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "year",(char *) "country", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17203 arg1
= (int) SWIG_AsInt(obj0
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 wxDateTime
* resultptr
;
17219 resultptr
= new wxDateTime((wxDateTime
&) result
);
17220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17228 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17231 char *kwnames
[] = {
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= wxDateTime::Now();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 wxDateTime
* resultptr
;
17245 resultptr
= new wxDateTime((wxDateTime
&) result
);
17246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17254 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17257 char *kwnames
[] = {
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= wxDateTime::UNow();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 wxDateTime
* resultptr
;
17271 resultptr
= new wxDateTime((wxDateTime
&) result
);
17272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17280 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17283 char *kwnames
[] = {
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= wxDateTime::Today();
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 wxDateTime
* resultptr
;
17297 resultptr
= new wxDateTime((wxDateTime
&) result
);
17298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17306 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxDateTime
*result
;
17309 char *kwnames
[] = {
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (wxDateTime
*)new wxDateTime();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17328 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17331 wxDateTime
*result
;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "timet", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17338 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxDateTime
*)new wxDateTime(arg1
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17354 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17357 wxDateTime
*result
;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "jdn", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17364 arg1
= (double) SWIG_AsDouble(obj0
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (wxDateTime
*)new wxDateTime(arg1
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17380 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17383 int arg2
= (int) 0 ;
17384 int arg3
= (int) 0 ;
17385 int arg4
= (int) 0 ;
17386 wxDateTime
*result
;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 PyObject
* obj2
= 0 ;
17390 PyObject
* obj3
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17396 arg1
= (int) SWIG_AsInt(obj0
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 arg2
= (int) SWIG_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 arg3
= (int) SWIG_AsInt(obj2
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17407 arg4
= (int) SWIG_AsInt(obj3
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17424 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17427 int arg2
= (int) wxDateTime::Inv_Month
;
17428 int arg3
= (int) wxDateTime::Inv_Year
;
17429 int arg4
= (int) 0 ;
17430 int arg5
= (int) 0 ;
17431 int arg6
= (int) 0 ;
17432 int arg7
= (int) 0 ;
17433 wxDateTime
*result
;
17434 PyObject
* obj0
= 0 ;
17435 PyObject
* obj1
= 0 ;
17436 PyObject
* obj2
= 0 ;
17437 PyObject
* obj3
= 0 ;
17438 PyObject
* obj4
= 0 ;
17439 PyObject
* obj5
= 0 ;
17440 PyObject
* obj6
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17446 arg1
= (int) SWIG_AsInt(obj0
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 arg3
= (int) SWIG_AsInt(obj2
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 arg4
= (int) SWIG_AsInt(obj3
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 arg5
= (int) SWIG_AsInt(obj4
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 arg6
= (int) SWIG_AsInt(obj5
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 arg7
= (int) SWIG_AsInt(obj6
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17486 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17514 wxDateTime
*result
;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17527 result
= (wxDateTime
*) &_result_ref
;
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17540 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17544 wxDateTime
*result
;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "timet", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17560 result
= (wxDateTime
*) &_result_ref
;
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17573 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17577 wxDateTime
*result
;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self",(char *) "jdn", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17587 arg2
= (double) SWIG_AsDouble(obj1
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17593 result
= (wxDateTime
*) &_result_ref
;
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17606 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17610 int arg3
= (int) 0 ;
17611 int arg4
= (int) 0 ;
17612 int arg5
= (int) 0 ;
17613 wxDateTime
*result
;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 PyObject
* obj2
= 0 ;
17617 PyObject
* obj3
= 0 ;
17618 PyObject
* obj4
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 arg2
= (int) SWIG_AsInt(obj1
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 arg3
= (int) SWIG_AsInt(obj2
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 arg4
= (int) SWIG_AsInt(obj3
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17637 arg5
= (int) SWIG_AsInt(obj4
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17644 result
= (wxDateTime
*) &_result_ref
;
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17657 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17661 int arg3
= (int) wxDateTime::Inv_Month
;
17662 int arg4
= (int) wxDateTime::Inv_Year
;
17663 int arg5
= (int) 0 ;
17664 int arg6
= (int) 0 ;
17665 int arg7
= (int) 0 ;
17666 int arg8
= (int) 0 ;
17667 wxDateTime
*result
;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 PyObject
* obj3
= 0 ;
17672 PyObject
* obj4
= 0 ;
17673 PyObject
* obj5
= 0 ;
17674 PyObject
* obj6
= 0 ;
17675 PyObject
* obj7
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 arg2
= (int) SWIG_AsInt(obj1
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 arg4
= (int) SWIG_AsInt(obj3
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 arg5
= (int) SWIG_AsInt(obj4
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 arg6
= (int) SWIG_AsInt(obj5
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17702 arg7
= (int) SWIG_AsInt(obj6
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17706 arg8
= (int) SWIG_AsInt(obj7
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17713 result
= (wxDateTime
*) &_result_ref
;
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17726 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17729 wxDateTime
*result
;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17742 result
= (wxDateTime
*) &_result_ref
;
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17755 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17759 wxDateTime
*result
;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "year", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 arg2
= (int) SWIG_AsInt(obj1
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17775 result
= (wxDateTime
*) &_result_ref
;
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17788 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17792 wxDateTime
*result
;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "month", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17808 result
= (wxDateTime
*) &_result_ref
;
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17821 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17825 wxDateTime
*result
;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "day", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 arg2
= (int) SWIG_AsInt(obj1
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17841 result
= (wxDateTime
*) &_result_ref
;
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17854 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17858 wxDateTime
*result
;
17859 PyObject
* obj0
= 0 ;
17860 PyObject
* obj1
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "hour", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17868 arg2
= (int) SWIG_AsInt(obj1
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17874 result
= (wxDateTime
*) &_result_ref
;
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17887 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17891 wxDateTime
*result
;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "minute", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 arg2
= (int) SWIG_AsInt(obj1
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17907 result
= (wxDateTime
*) &_result_ref
;
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17920 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17924 wxDateTime
*result
;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self",(char *) "second", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 arg2
= (int) SWIG_AsInt(obj1
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17940 result
= (wxDateTime
*) &_result_ref
;
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17953 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17957 wxDateTime
*result
;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "millisecond", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 arg2
= (int) SWIG_AsInt(obj1
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17973 result
= (wxDateTime
*) &_result_ref
;
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17986 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17990 int arg3
= (int) wxDateTime::Monday_First
;
17991 wxDateTime
*result
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18012 result
= (wxDateTime
*) &_result_ref
;
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18025 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18029 int arg3
= (int) wxDateTime::Monday_First
;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 PyObject
* obj2
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18041 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 wxDateTime
* resultptr
;
18056 resultptr
= new wxDateTime((wxDateTime
&) result
);
18057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18065 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18069 wxDateTime
*result
;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "weekday", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18079 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18085 result
= (wxDateTime
*) &_result_ref
;
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18098 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "weekday", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18122 wxDateTime
* resultptr
;
18123 resultptr
= new wxDateTime((wxDateTime
&) result
);
18124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18132 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18136 wxDateTime
*result
;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self",(char *) "weekday", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18152 result
= (wxDateTime
*) &_result_ref
;
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18165 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "weekday", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18189 wxDateTime
* resultptr
;
18190 resultptr
= new wxDateTime((wxDateTime
&) result
);
18191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18199 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18203 int arg3
= (int) 1 ;
18204 int arg4
= (int) wxDateTime::Inv_Month
;
18205 int arg5
= (int) wxDateTime::Inv_Year
;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 arg3
= (int) SWIG_AsInt(obj2
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18230 arg5
= (int) SWIG_AsInt(obj4
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18249 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18253 int arg3
= (int) wxDateTime::Inv_Month
;
18254 int arg4
= (int) wxDateTime::Inv_Year
;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 PyObject
* obj2
= 0 ;
18259 PyObject
* obj3
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 arg4
= (int) SWIG_AsInt(obj3
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18293 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18297 int arg3
= (int) wxDateTime::Inv_Month
;
18298 int arg4
= (int) wxDateTime::Inv_Year
;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 PyObject
* obj2
= 0 ;
18303 PyObject
* obj3
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18311 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18318 arg4
= (int) SWIG_AsInt(obj3
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18329 wxDateTime
* resultptr
;
18330 resultptr
= new wxDateTime((wxDateTime
&) result
);
18331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18339 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18343 int arg3
= (int) wxDateTime::Mon
;
18344 int arg4
= (int) wxDateTime::Monday_First
;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 PyObject
* obj2
= 0 ;
18349 PyObject
* obj3
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 arg2
= (int) SWIG_AsInt(obj1
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18383 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18387 int arg3
= (int) wxDateTime::Mon
;
18388 int arg4
= (int) wxDateTime::Monday_First
;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 PyObject
* obj2
= 0 ;
18393 PyObject
* obj3
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 arg2
= (int) SWIG_AsInt(obj1
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 wxDateTime
* resultptr
;
18420 resultptr
= new wxDateTime((wxDateTime
&) result
);
18421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18429 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18432 int arg2
= (int) wxDateTime::Inv_Month
;
18433 int arg3
= (int) wxDateTime::Inv_Year
;
18434 wxDateTime
*result
;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 PyObject
* obj2
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "month",(char *) "year", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 arg3
= (int) SWIG_AsInt(obj2
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18457 result
= (wxDateTime
*) &_result_ref
;
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18470 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18473 int arg2
= (int) wxDateTime::Inv_Month
;
18474 int arg3
= (int) wxDateTime::Inv_Year
;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 PyObject
* obj2
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self",(char *) "month",(char *) "year", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18487 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 arg3
= (int) SWIG_AsInt(obj2
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 wxDateTime
* resultptr
;
18503 resultptr
= new wxDateTime((wxDateTime
&) result
);
18504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18512 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18516 wxDateTime
*result
;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "yday", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 arg2
= (int) SWIG_AsInt(obj1
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18532 result
= (wxDateTime
*) &_result_ref
;
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18545 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "yday", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= (int) SWIG_AsInt(obj1
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (arg1
)->GetYearDay(arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18569 wxDateTime
* resultptr
;
18570 resultptr
= new wxDateTime((wxDateTime
&) result
);
18571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18579 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (double)(arg1
)->GetJulianDayNumber();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_FromDouble((double)result
);
18605 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (double)(arg1
)->GetJDN();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_FromDouble((double)result
);
18631 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_FromDouble((double)result
);
18657 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (double)(arg1
)->GetMJD();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_FromDouble((double)result
);
18683 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 result
= (double)(arg1
)->GetRataDie();
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 resultobj
= SWIG_FromDouble((double)result
);
18709 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18712 wxDateTime::TimeZone
*arg2
= 0 ;
18713 bool arg3
= (bool) False
;
18715 bool temp2
= False
;
18716 PyObject
* obj0
= 0 ;
18717 PyObject
* obj1
= 0 ;
18718 PyObject
* obj2
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18727 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18731 arg3
= (bool) SWIG_AsBool(obj2
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18742 wxDateTime
* resultptr
;
18743 resultptr
= new wxDateTime((wxDateTime
&) result
);
18744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18747 if (temp2
) delete arg2
;
18752 if (temp2
) delete arg2
;
18758 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18761 wxDateTime::TimeZone
*arg2
= 0 ;
18762 bool arg3
= (bool) False
;
18763 wxDateTime
*result
;
18764 bool temp2
= False
;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 PyObject
* obj2
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18780 arg3
= (bool) SWIG_AsBool(obj2
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18787 result
= (wxDateTime
*) &_result_ref
;
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18795 if (temp2
) delete arg2
;
18800 if (temp2
) delete arg2
;
18806 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18809 bool arg2
= (bool) False
;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "noDST", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 arg2
= (bool) SWIG_AsBool(obj1
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (arg1
)->ToGMT(arg2
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18832 wxDateTime
* resultptr
;
18833 resultptr
= new wxDateTime((wxDateTime
&) result
);
18834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18842 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18845 bool arg2
= (bool) False
;
18846 wxDateTime
*result
;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self",(char *) "noDST", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 arg2
= (bool) SWIG_AsBool(obj1
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18864 result
= (wxDateTime
*) &_result_ref
;
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18877 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18880 int arg2
= (int) wxDateTime::Country_Default
;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self",(char *) "country", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18892 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= SWIG_FromInt((int)result
);
18909 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18937 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18941 PyObject
* obj0
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18963 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18966 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18967 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18969 bool temp2
= False
;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "tz", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18981 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_FromInt((int)result
);
18994 if (temp2
) delete arg2
;
18999 if (temp2
) delete arg2
;
19005 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19008 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19009 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19011 bool temp2
= False
;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "tz", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_FromInt((int)result
);
19036 if (temp2
) delete arg2
;
19041 if (temp2
) delete arg2
;
19047 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19050 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19051 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19053 bool temp2
= False
;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "tz", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19065 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= SWIG_FromInt((int)result
);
19078 if (temp2
) delete arg2
;
19083 if (temp2
) delete arg2
;
19089 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19092 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19093 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19095 bool temp2
= False
;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "tz", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= SWIG_FromInt((int)result
);
19120 if (temp2
) delete arg2
;
19125 if (temp2
) delete arg2
;
19131 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19134 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19135 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19137 bool temp2
= False
;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "tz", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_FromInt((int)result
);
19162 if (temp2
) delete arg2
;
19167 if (temp2
) delete arg2
;
19173 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19176 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19177 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19179 bool temp2
= False
;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self",(char *) "tz", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_FromInt((int)result
);
19204 if (temp2
) delete arg2
;
19209 if (temp2
) delete arg2
;
19215 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19218 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19219 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19221 bool temp2
= False
;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self",(char *) "tz", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= SWIG_FromInt((int)result
);
19246 if (temp2
) delete arg2
;
19251 if (temp2
) delete arg2
;
19257 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19260 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19261 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19263 bool temp2
= False
;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "tz", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_FromInt((int)result
);
19288 if (temp2
) delete arg2
;
19293 if (temp2
) delete arg2
;
19299 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19302 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19303 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19305 bool temp2
= False
;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "tz", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_FromInt((int)result
);
19330 if (temp2
) delete arg2
;
19335 if (temp2
) delete arg2
;
19341 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19344 int arg2
= (int) wxDateTime::Monday_First
;
19345 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19346 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19348 bool temp3
= False
;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 PyObject
* obj2
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "flags",(char *) "tz", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19365 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_FromInt((int)result
);
19378 if (temp3
) delete arg3
;
19383 if (temp3
) delete arg3
;
19389 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19392 int arg2
= (int) wxDateTime::Monday_First
;
19393 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19394 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19396 bool temp3
= False
;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "flags",(char *) "tz", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19413 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_FromInt((int)result
);
19426 if (temp3
) delete arg3
;
19431 if (temp3
) delete arg3
;
19437 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19440 int arg2
= (int) wxDateTime::Country_Default
;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "country", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19452 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19471 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19474 wxDateTime
*arg2
= 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "datetime", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19488 if (arg2
== NULL
) {
19489 PyErr_SetString(PyExc_TypeError
,"null reference");
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19508 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19511 wxDateTime
*arg2
= 0 ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self",(char *) "datetime", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19525 if (arg2
== NULL
) {
19526 PyErr_SetString(PyExc_TypeError
,"null reference");
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19545 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19548 wxDateTime
*arg2
= 0 ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self",(char *) "datetime", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19562 if (arg2
== NULL
) {
19563 PyErr_SetString(PyExc_TypeError
,"null reference");
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19582 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19585 wxDateTime
*arg2
= 0 ;
19586 wxDateTime
*arg3
= 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 PyObject
* obj2
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "t1",(char *) "t2", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19601 if (arg2
== NULL
) {
19602 PyErr_SetString(PyExc_TypeError
,"null reference");
19605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19608 if (arg3
== NULL
) {
19609 PyErr_SetString(PyExc_TypeError
,"null reference");
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19628 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19631 wxDateTime
*arg2
= 0 ;
19632 wxDateTime
*arg3
= 0 ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 PyObject
* obj2
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "t1",(char *) "t2", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19647 if (arg2
== NULL
) {
19648 PyErr_SetString(PyExc_TypeError
,"null reference");
19651 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19654 if (arg3
== NULL
) {
19655 PyErr_SetString(PyExc_TypeError
,"null reference");
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19674 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19677 wxDateTime
*arg2
= 0 ;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self",(char *) "dt", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19691 if (arg2
== NULL
) {
19692 PyErr_SetString(PyExc_TypeError
,"null reference");
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19711 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19714 wxDateTime
*arg2
= 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "dt", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19728 if (arg2
== NULL
) {
19729 PyErr_SetString(PyExc_TypeError
,"null reference");
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19748 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19751 wxDateTime
*arg2
= 0 ;
19752 wxTimeSpan
*arg3
= 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 PyObject
* obj2
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self",(char *) "dt",(char *) "ts", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19767 if (arg2
== NULL
) {
19768 PyErr_SetString(PyExc_TypeError
,"null reference");
19771 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19774 if (arg3
== NULL
) {
19775 PyErr_SetString(PyExc_TypeError
,"null reference");
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19794 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19797 wxTimeSpan
*arg2
= 0 ;
19798 wxDateTime
*result
;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "diff", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19811 if (arg2
== NULL
) {
19812 PyErr_SetString(PyExc_TypeError
,"null reference");
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19819 result
= (wxDateTime
*) &_result_ref
;
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19832 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19835 wxDateSpan
*arg2
= 0 ;
19836 wxDateTime
*result
;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self",(char *) "diff", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19849 if (arg2
== NULL
) {
19850 PyErr_SetString(PyExc_TypeError
,"null reference");
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19857 result
= (wxDateTime
*) &_result_ref
;
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19870 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19873 wxTimeSpan
*arg2
= 0 ;
19874 wxDateTime
*result
;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self",(char *) "diff", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19887 if (arg2
== NULL
) {
19888 PyErr_SetString(PyExc_TypeError
,"null reference");
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19895 result
= (wxDateTime
*) &_result_ref
;
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19908 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19911 wxDateSpan
*arg2
= 0 ;
19912 wxDateTime
*result
;
19913 PyObject
* obj0
= 0 ;
19914 PyObject
* obj1
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self",(char *) "diff", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19925 if (arg2
== NULL
) {
19926 PyErr_SetString(PyExc_TypeError
,"null reference");
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19933 result
= (wxDateTime
*) &_result_ref
;
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19946 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19949 wxDateTime
*arg2
= 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "dt", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19963 if (arg2
== NULL
) {
19964 PyErr_SetString(PyExc_TypeError
,"null reference");
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 wxTimeSpan
* resultptr
;
19976 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19985 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19986 PyObject
*resultobj
;
19987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19988 wxTimeSpan
*arg2
= 0 ;
19989 wxDateTime
*result
;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19993 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19999 if (arg2
== NULL
) {
20000 PyErr_SetString(PyExc_TypeError
,"null reference");
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20007 result
= (wxDateTime
*) &_result_ref
;
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20020 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20021 PyObject
*resultobj
;
20022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20023 wxDateSpan
*arg2
= 0 ;
20024 wxDateTime
*result
;
20025 PyObject
* obj0
= 0 ;
20026 PyObject
* obj1
= 0 ;
20028 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20034 if (arg2
== NULL
) {
20035 PyErr_SetString(PyExc_TypeError
,"null reference");
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20042 result
= (wxDateTime
*) &_result_ref
;
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20055 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20060 argc
= PyObject_Length(args
);
20061 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20062 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20086 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20094 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20104 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20112 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20117 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20122 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20123 PyObject
*resultobj
;
20124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20125 wxTimeSpan
*arg2
= 0 ;
20126 wxDateTime
*result
;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20130 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20136 if (arg2
== NULL
) {
20137 PyErr_SetString(PyExc_TypeError
,"null reference");
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20144 result
= (wxDateTime
*) &_result_ref
;
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20157 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20158 PyObject
*resultobj
;
20159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20160 wxDateSpan
*arg2
= 0 ;
20161 wxDateTime
*result
;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20165 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20171 if (arg2
== NULL
) {
20172 PyErr_SetString(PyExc_TypeError
,"null reference");
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20179 result
= (wxDateTime
*) &_result_ref
;
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20192 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20197 argc
= PyObject_Length(args
);
20198 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20199 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20215 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20223 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20231 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20241 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20249 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20254 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20259 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20260 PyObject
*resultobj
;
20261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20262 wxTimeSpan
*arg2
= 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20267 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20273 if (arg2
== NULL
) {
20274 PyErr_SetString(PyExc_TypeError
,"null reference");
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20285 wxDateTime
* resultptr
;
20286 resultptr
= new wxDateTime((wxDateTime
&) result
);
20287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20295 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20296 PyObject
*resultobj
;
20297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20298 wxDateSpan
*arg2
= 0 ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20303 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20309 if (arg2
== NULL
) {
20310 PyErr_SetString(PyExc_TypeError
,"null reference");
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20321 wxDateTime
* resultptr
;
20322 resultptr
= new wxDateTime((wxDateTime
&) result
);
20323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20331 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20336 argc
= PyObject_Length(args
);
20337 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20338 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20344 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20354 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20362 return _wrap_DateTime___add____SWIG_0(self
,args
);
20370 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20380 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20388 return _wrap_DateTime___add____SWIG_1(self
,args
);
20393 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20398 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20399 PyObject
*resultobj
;
20400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20401 wxDateTime
*arg2
= 0 ;
20403 PyObject
* obj0
= 0 ;
20404 PyObject
* obj1
= 0 ;
20406 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20412 if (arg2
== NULL
) {
20413 PyErr_SetString(PyExc_TypeError
,"null reference");
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20424 wxTimeSpan
* resultptr
;
20425 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20434 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20435 PyObject
*resultobj
;
20436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20437 wxTimeSpan
*arg2
= 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20442 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20448 if (arg2
== NULL
) {
20449 PyErr_SetString(PyExc_TypeError
,"null reference");
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 wxDateTime
* resultptr
;
20461 resultptr
= new wxDateTime((wxDateTime
&) result
);
20462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20470 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20471 PyObject
*resultobj
;
20472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20473 wxDateSpan
*arg2
= 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20478 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20484 if (arg2
== NULL
) {
20485 PyErr_SetString(PyExc_TypeError
,"null reference");
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20496 wxDateTime
* resultptr
;
20497 resultptr
= new wxDateTime((wxDateTime
&) result
);
20498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20506 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20511 argc
= PyObject_Length(args
);
20512 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20513 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20529 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20537 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20545 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20555 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20563 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20571 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20581 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20589 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20594 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20599 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20600 PyObject
*resultobj
;
20601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20602 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20607 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20628 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20629 PyObject
*resultobj
;
20630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20631 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20636 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20657 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20658 PyObject
*resultobj
;
20659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20660 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20665 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20686 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20687 PyObject
*resultobj
;
20688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20689 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20694 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20715 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20716 PyObject
*resultobj
;
20717 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20718 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20723 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20744 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20745 PyObject
*resultobj
;
20746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20747 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20752 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20773 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20776 wxString
*arg2
= 0 ;
20778 bool temp2
= False
;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self",(char *) "date", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 arg2
= wxString_in_helper(obj1
);
20790 if (arg2
== NULL
) SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_FromInt((int)result
);
20815 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20818 wxString
*arg2
= 0 ;
20819 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20820 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20821 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20822 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20824 bool temp2
= False
;
20825 bool temp3
= False
;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 PyObject
* obj2
= 0 ;
20829 PyObject
* obj3
= 0 ;
20830 char *kwnames
[] = {
20831 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20838 arg2
= wxString_in_helper(obj1
);
20839 if (arg2
== NULL
) SWIG_fail
;
20844 arg3
= wxString_in_helper(obj2
);
20845 if (arg3
== NULL
) SWIG_fail
;
20850 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20853 if (arg4
== NULL
) {
20854 PyErr_SetString(PyExc_TypeError
,"null reference");
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_FromInt((int)result
);
20888 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20891 wxString
*arg2
= 0 ;
20893 bool temp2
= False
;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "datetime", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20904 arg2
= wxString_in_helper(obj1
);
20905 if (arg2
== NULL
) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_FromInt((int)result
);
20930 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20933 wxString
*arg2
= 0 ;
20935 bool temp2
= False
;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "date", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20946 arg2
= wxString_in_helper(obj1
);
20947 if (arg2
== NULL
) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_FromInt((int)result
);
20972 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20975 wxString
*arg2
= 0 ;
20977 bool temp2
= False
;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "time", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20988 arg2
= wxString_in_helper(obj1
);
20989 if (arg2
== NULL
) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_FromInt((int)result
);
21014 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21017 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21018 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21019 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21020 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21022 bool temp2
= False
;
21023 bool temp3
= False
;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 PyObject
* obj2
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "format",(char *) "tz", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 arg2
= wxString_in_helper(obj1
);
21037 if (arg2
== NULL
) SWIG_fail
;
21043 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21066 if (temp3
) delete arg3
;
21075 if (temp3
) delete arg3
;
21081 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21113 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21145 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21177 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21209 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21212 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21214 return Py_BuildValue((char *)"");
21216 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "sec", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21226 arg1
= (long) SWIG_AsLong(obj0
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= wxTimeSpan::Seconds(arg1
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 wxTimeSpan
* resultptr
;
21237 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21246 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21249 char *kwnames
[] = {
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= wxTimeSpan::Second();
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 wxTimeSpan
* resultptr
;
21263 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21272 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "min", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21282 arg1
= (long) SWIG_AsLong(obj0
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= wxTimeSpan::Minutes(arg1
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 wxTimeSpan
* resultptr
;
21293 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21302 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21305 char *kwnames
[] = {
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= wxTimeSpan::Minute();
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21318 wxTimeSpan
* resultptr
;
21319 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21328 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21332 PyObject
* obj0
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "hours", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21338 arg1
= (long) SWIG_AsLong(obj0
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= wxTimeSpan::Hours(arg1
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21348 wxTimeSpan
* resultptr
;
21349 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21358 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21361 char *kwnames
[] = {
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= wxTimeSpan::Hour();
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 wxTimeSpan
* resultptr
;
21375 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21384 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21388 PyObject
* obj0
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "days", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21394 arg1
= (long) SWIG_AsLong(obj0
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= wxTimeSpan::Days(arg1
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 wxTimeSpan
* resultptr
;
21405 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21414 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21417 char *kwnames
[] = {
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 result
= wxTimeSpan::Day();
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 wxTimeSpan
* resultptr
;
21431 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21440 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "days", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21450 arg1
= (long) SWIG_AsLong(obj0
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= wxTimeSpan::Weeks(arg1
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 wxTimeSpan
* resultptr
;
21461 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21470 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21473 char *kwnames
[] = {
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= wxTimeSpan::Week();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21486 wxTimeSpan
* resultptr
;
21487 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21496 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 long arg1
= (long) 0 ;
21499 long arg2
= (long) 0 ;
21500 long arg3
= (long) 0 ;
21501 long arg4
= (long) 0 ;
21502 wxTimeSpan
*result
;
21503 PyObject
* obj0
= 0 ;
21504 PyObject
* obj1
= 0 ;
21505 PyObject
* obj2
= 0 ;
21506 PyObject
* obj3
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21513 arg1
= (long) SWIG_AsLong(obj0
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 arg2
= (long) SWIG_AsLong(obj1
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 arg3
= (long) SWIG_AsLong(obj2
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 arg4
= (long) SWIG_AsLong(obj3
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21542 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 Py_INCREF(Py_None
); resultobj
= Py_None
;
21567 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21570 wxTimeSpan
*arg2
= 0 ;
21571 wxTimeSpan
*result
;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self",(char *) "diff", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21584 if (arg2
== NULL
) {
21585 PyErr_SetString(PyExc_TypeError
,"null reference");
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21592 result
= (wxTimeSpan
*) &_result_ref
;
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21605 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21608 wxTimeSpan
*arg2
= 0 ;
21609 wxTimeSpan
*result
;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "diff", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21622 if (arg2
== NULL
) {
21623 PyErr_SetString(PyExc_TypeError
,"null reference");
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21630 result
= (wxTimeSpan
*) &_result_ref
;
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21643 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21647 wxTimeSpan
*result
;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self",(char *) "n", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 arg2
= (int) SWIG_AsInt(obj1
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21663 result
= (wxTimeSpan
*) &_result_ref
;
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21676 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21679 wxTimeSpan
*result
;
21680 PyObject
* obj0
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21692 result
= (wxTimeSpan
*) &_result_ref
;
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21705 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21725 wxTimeSpan
* resultptr
;
21726 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21735 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21738 wxTimeSpan
*arg2
= 0 ;
21739 wxTimeSpan
*result
;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "self",(char *) "diff", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21752 if (arg2
== NULL
) {
21753 PyErr_SetString(PyExc_TypeError
,"null reference");
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21760 result
= (wxTimeSpan
*) &_result_ref
;
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21773 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21776 wxTimeSpan
*arg2
= 0 ;
21777 wxTimeSpan
*result
;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "diff", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21790 if (arg2
== NULL
) {
21791 PyErr_SetString(PyExc_TypeError
,"null reference");
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21798 result
= (wxTimeSpan
*) &_result_ref
;
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21811 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21815 wxTimeSpan
*result
;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "n", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 arg2
= (int) SWIG_AsInt(obj1
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21831 result
= (wxTimeSpan
*) &_result_ref
;
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21844 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21847 wxTimeSpan
*result
;
21848 PyObject
* obj0
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21860 result
= (wxTimeSpan
*) &_result_ref
;
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21873 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21876 wxTimeSpan
*arg2
= 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "other", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21890 if (arg2
== NULL
) {
21891 PyErr_SetString(PyExc_TypeError
,"null reference");
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 wxTimeSpan
* resultptr
;
21903 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21912 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21915 wxTimeSpan
*arg2
= 0 ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "self",(char *) "other", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21929 if (arg2
== NULL
) {
21930 PyErr_SetString(PyExc_TypeError
,"null reference");
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 wxTimeSpan
* resultptr
;
21942 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21951 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "n", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 arg2
= (int) SWIG_AsInt(obj1
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= wxTimeSpan___mul__(arg1
,arg2
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 wxTimeSpan
* resultptr
;
21976 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21985 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "n", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 arg2
= (int) SWIG_AsInt(obj1
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 wxTimeSpan
* resultptr
;
22010 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22019 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22022 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "other", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22051 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22054 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "other", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22083 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22086 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "other", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22115 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22118 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "other", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22147 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22150 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self",(char *) "other", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22179 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22182 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self",(char *) "other", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22211 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22239 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22267 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22298 wxTimeSpan
*arg2
= 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "ts", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22312 if (arg2
== NULL
) {
22313 PyErr_SetString(PyExc_TypeError
,"null reference");
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22332 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22335 wxTimeSpan
*arg2
= 0 ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self",(char *) "ts", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22349 if (arg2
== NULL
) {
22350 PyErr_SetString(PyExc_TypeError
,"null reference");
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22369 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22372 wxTimeSpan
*arg2
= 0 ;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self",(char *) "t", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22386 if (arg2
== NULL
) {
22387 PyErr_SetString(PyExc_TypeError
,"null reference");
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22406 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_FromInt((int)result
);
22432 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_FromInt((int)result
);
22458 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= SWIG_FromInt((int)result
);
22484 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_FromInt((int)result
);
22510 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22530 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22531 hi
= PyLong_FromLong( (&result
)->GetHi() );
22532 lo
= PyLong_FromLong( (&result
)->GetLo() );
22533 shifter
= PyLong_FromLong(32);
22534 shifted
= PyNumber_Lshift(hi
, shifter
);
22535 resultobj
= PyNumber_Or(shifted
, lo
);
22538 Py_DECREF(shifter
);
22539 Py_DECREF(shifted
);
22547 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22568 hi
= PyLong_FromLong( (&result
)->GetHi() );
22569 lo
= PyLong_FromLong( (&result
)->GetLo() );
22570 shifter
= PyLong_FromLong(32);
22571 shifted
= PyNumber_Lshift(hi
, shifter
);
22572 resultobj
= PyNumber_Or(shifted
, lo
);
22575 Py_DECREF(shifter
);
22576 Py_DECREF(shifted
);
22584 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22587 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22588 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22590 bool temp2
= False
;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "format", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22602 arg2
= wxString_in_helper(obj1
);
22603 if (arg2
== NULL
) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22635 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22638 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22640 return Py_BuildValue((char *)"");
22642 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 int arg1
= (int) 0 ;
22645 int arg2
= (int) 0 ;
22646 int arg3
= (int) 0 ;
22647 int arg4
= (int) 0 ;
22648 wxDateSpan
*result
;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 PyObject
* obj2
= 0 ;
22652 PyObject
* obj3
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22659 arg1
= (int) SWIG_AsInt(obj0
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22663 arg2
= (int) SWIG_AsInt(obj1
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22667 arg3
= (int) SWIG_AsInt(obj2
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22671 arg4
= (int) SWIG_AsInt(obj3
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22688 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "days", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22723 arg1
= (int) SWIG_AsInt(obj0
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= wxDateSpan::Days(arg1
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22733 wxDateSpan
* resultptr
;
22734 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22743 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22746 char *kwnames
[] = {
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= wxDateSpan::Day();
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 wxDateSpan
* resultptr
;
22760 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22769 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "weeks", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22779 arg1
= (int) SWIG_AsInt(obj0
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= wxDateSpan::Weeks(arg1
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 wxDateSpan
* resultptr
;
22790 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22799 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22802 char *kwnames
[] = {
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= wxDateSpan::Week();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 wxDateSpan
* resultptr
;
22816 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22825 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22829 PyObject
* obj0
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "mon", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22835 arg1
= (int) SWIG_AsInt(obj0
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= wxDateSpan::Months(arg1
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 wxDateSpan
* resultptr
;
22846 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22855 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22858 char *kwnames
[] = {
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= wxDateSpan::Month();
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 wxDateSpan
* resultptr
;
22872 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22881 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22885 PyObject
* obj0
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "years", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22891 arg1
= (int) SWIG_AsInt(obj0
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= wxDateSpan::Years(arg1
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 wxDateSpan
* resultptr
;
22902 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22911 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
;
22914 char *kwnames
[] = {
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= wxDateSpan::Year();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 wxDateSpan
* resultptr
;
22928 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22937 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22941 wxDateSpan
*result
;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self",(char *) "n", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 arg2
= (int) SWIG_AsInt(obj1
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22957 result
= (wxDateSpan
*) &_result_ref
;
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22970 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22974 wxDateSpan
*result
;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self",(char *) "n", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22984 arg2
= (int) SWIG_AsInt(obj1
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22990 result
= (wxDateSpan
*) &_result_ref
;
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23003 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23007 wxDateSpan
*result
;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self",(char *) "n", NULL
23014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23017 arg2
= (int) SWIG_AsInt(obj1
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23023 result
= (wxDateSpan
*) &_result_ref
;
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23036 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23040 wxDateSpan
*result
;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "n", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 arg2
= (int) SWIG_AsInt(obj1
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23056 result
= (wxDateSpan
*) &_result_ref
;
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23069 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_FromInt((int)result
);
23095 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23099 PyObject
* obj0
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_FromInt((int)result
);
23121 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_FromInt((int)result
);
23147 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_FromInt((int)result
);
23173 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_FromInt((int)result
);
23199 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23202 wxDateSpan
*arg2
= 0 ;
23203 wxDateSpan
*result
;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self",(char *) "other", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23216 if (arg2
== NULL
) {
23217 PyErr_SetString(PyExc_TypeError
,"null reference");
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23224 result
= (wxDateSpan
*) &_result_ref
;
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23237 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23240 wxDateSpan
*arg2
= 0 ;
23241 wxDateSpan
*result
;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self",(char *) "other", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23254 if (arg2
== NULL
) {
23255 PyErr_SetString(PyExc_TypeError
,"null reference");
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23262 result
= (wxDateSpan
*) &_result_ref
;
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23275 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23278 wxDateSpan
*result
;
23279 PyObject
* obj0
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23291 result
= (wxDateSpan
*) &_result_ref
;
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23304 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23308 wxDateSpan
*result
;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "factor", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 arg2
= (int) SWIG_AsInt(obj1
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23324 result
= (wxDateSpan
*) &_result_ref
;
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23337 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23340 wxDateSpan
*arg2
= 0 ;
23341 wxDateSpan
*result
;
23342 PyObject
* obj0
= 0 ;
23343 PyObject
* obj1
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "other", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23354 if (arg2
== NULL
) {
23355 PyErr_SetString(PyExc_TypeError
,"null reference");
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23362 result
= (wxDateSpan
*) &_result_ref
;
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23375 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23378 wxDateSpan
*arg2
= 0 ;
23379 wxDateSpan
*result
;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self",(char *) "other", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23392 if (arg2
== NULL
) {
23393 PyErr_SetString(PyExc_TypeError
,"null reference");
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23400 result
= (wxDateSpan
*) &_result_ref
;
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23413 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23416 wxDateSpan
*result
;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23429 result
= (wxDateSpan
*) &_result_ref
;
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23442 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23446 wxDateSpan
*result
;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self",(char *) "factor", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23456 arg2
= (int) SWIG_AsInt(obj1
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23462 result
= (wxDateSpan
*) &_result_ref
;
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23475 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23478 wxDateSpan
*arg2
= 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "other", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23492 if (arg2
== NULL
) {
23493 PyErr_SetString(PyExc_TypeError
,"null reference");
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 wxDateSpan
* resultptr
;
23505 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23514 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23517 wxDateSpan
*arg2
= 0 ;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "other", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23531 if (arg2
== NULL
) {
23532 PyErr_SetString(PyExc_TypeError
,"null reference");
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23543 wxDateSpan
* resultptr
;
23544 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23553 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "n", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23567 arg2
= (int) SWIG_AsInt(obj1
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= wxDateSpan___mul__(arg1
,arg2
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23577 wxDateSpan
* resultptr
;
23578 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23587 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "n", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 arg2
= (int) SWIG_AsInt(obj1
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= wxDateSpan___rmul__(arg1
,arg2
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 wxDateSpan
* resultptr
;
23612 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23621 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23624 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "other", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23653 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23656 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "other", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23685 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23688 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23690 return Py_BuildValue((char *)"");
23692 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23695 char *kwnames
[] = {
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (long)wxGetLocalTime();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_FromLong((long)result
);
23714 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23717 char *kwnames
[] = {
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= (long)wxGetUTCTime();
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_FromLong((long)result
);
23736 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23739 char *kwnames
[] = {
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (long)wxGetCurrentTime();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_FromLong((long)result
);
23758 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23761 char *kwnames
[] = {
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= wxGetLocalTimeMillis();
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23774 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23775 hi
= PyLong_FromLong( (&result
)->GetHi() );
23776 lo
= PyLong_FromLong( (&result
)->GetLo() );
23777 shifter
= PyLong_FromLong(32);
23778 shifted
= PyNumber_Lshift(hi
, shifter
);
23779 resultobj
= PyNumber_Or(shifted
, lo
);
23782 Py_DECREF(shifter
);
23783 Py_DECREF(shifted
);
23791 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23792 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23797 static PyObject
*_wrap_DefaultDateTime_get() {
23800 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23805 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23808 wxDataFormat
*result
;
23809 PyObject
* obj0
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "type", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23815 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23831 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
;
23833 wxString
*arg1
= 0 ;
23834 wxDataFormat
*result
;
23835 bool temp1
= False
;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "format", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23843 arg1
= wxString_in_helper(obj0
);
23844 if (arg1
== NULL
) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23869 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "self", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 Py_INCREF(Py_None
); resultobj
= Py_None
;
23894 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23895 PyObject
*resultobj
;
23896 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23902 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23923 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23924 PyObject
*resultobj
;
23925 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23931 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23952 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23953 PyObject
*resultobj
;
23954 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23955 wxDataFormat
*arg2
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23960 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23966 if (arg2
== NULL
) {
23967 PyErr_SetString(PyExc_TypeError
,"null reference");
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23986 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23991 argc
= PyObject_Length(args
);
23992 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23993 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24009 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24017 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24025 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24033 _v
= SWIG_CheckInt(argv
[1]);
24035 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24040 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24045 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24046 PyObject
*resultobj
;
24047 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24048 wxDataFormat
*arg2
= 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24053 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24059 if (arg2
== NULL
) {
24060 PyErr_SetString(PyExc_TypeError
,"null reference");
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24079 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24084 argc
= PyObject_Length(args
);
24085 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24086 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24092 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24102 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24110 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24126 _v
= SWIG_CheckInt(argv
[1]);
24128 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24133 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24138 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "self",(char *) "format", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->SetType((wxDataFormatId
)arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 Py_INCREF(Py_None
); resultobj
= Py_None
;
24167 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_FromInt((int)result
);
24193 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24197 PyObject
* obj0
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= ((wxDataFormat
const *)arg1
)->GetId();
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24225 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24228 wxString
*arg2
= 0 ;
24229 bool temp2
= False
;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "format", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 arg2
= wxString_in_helper(obj1
);
24241 if (arg2
== NULL
) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 (arg1
)->SetId((wxString
const &)*arg2
);
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 Py_INCREF(Py_None
); resultobj
= Py_None
;
24266 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24269 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24271 return Py_BuildValue((char *)"");
24273 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24274 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24279 static PyObject
*_wrap_FormatInvalid_get() {
24282 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24287 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 Py_INCREF(Py_None
); resultobj
= Py_None
;
24312 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24315 int arg2
= (int) wxDataObject::Get
;
24316 SwigValueWrapper
< wxDataFormat
> result
;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "dir", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24327 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24338 wxDataFormat
* resultptr
;
24339 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24348 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24351 int arg2
= (int) wxDataObject::Get
;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "dir", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24363 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24380 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24383 wxDataFormat
*arg2
= 0 ;
24384 int arg3
= (int) wxDataObject::Get
;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "format",(char *) "dir", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24399 if (arg2
== NULL
) {
24400 PyErr_SetString(PyExc_TypeError
,"null reference");
24404 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24423 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24426 wxDataFormat
*arg2
= 0 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "self",(char *) "format", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24440 if (arg2
== NULL
) {
24441 PyErr_SetString(PyExc_TypeError
,"null reference");
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24458 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24461 int arg2
= (int) wxDataObject::Get
;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "dir", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= result
;
24490 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24493 wxDataFormat
*arg2
= 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "self",(char *) "format", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24507 if (arg2
== NULL
) {
24508 PyErr_SetString(PyExc_TypeError
,"null reference");
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= result
;
24525 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24528 wxDataFormat
*arg2
= 0 ;
24529 PyObject
*arg3
= (PyObject
*) 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 PyObject
* obj2
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "format",(char *) "data", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24544 if (arg2
== NULL
) {
24545 PyErr_SetString(PyExc_TypeError
,"null reference");
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24565 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24568 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24570 return Py_BuildValue((char *)"");
24572 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
;
24574 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24575 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24576 wxDataObjectSimple
*result
;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "format", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24587 if (arg1
== NULL
) {
24588 PyErr_SetString(PyExc_TypeError
,"null reference");
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24606 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24609 wxDataFormat
*result
;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24622 result
= (wxDataFormat
*) &_result_ref
;
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24635 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24638 wxDataFormat
*arg2
= 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "format", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24651 if (arg2
== NULL
) {
24652 PyErr_SetString(PyExc_TypeError
,"null reference");
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 Py_INCREF(Py_None
); resultobj
= Py_None
;
24669 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24695 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24699 PyObject
* obj0
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= result
;
24721 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
;
24723 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24724 PyObject
*arg2
= (PyObject
*) 0 ;
24726 PyObject
* obj0
= 0 ;
24727 PyObject
* obj1
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self",(char *) "data", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24752 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24755 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24757 return Py_BuildValue((char *)"");
24759 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24762 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24763 wxPyDataObjectSimple
*result
;
24764 PyObject
* obj0
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "format", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24774 if (arg1
== NULL
) {
24775 PyErr_SetString(PyExc_TypeError
,"null reference");
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24793 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24796 PyObject
*arg2
= (PyObject
*) 0 ;
24797 PyObject
*arg3
= (PyObject
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 PyObject
* obj2
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "self",(char *) "_class", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 Py_INCREF(Py_None
); resultobj
= Py_None
;
24824 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24827 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24829 return Py_BuildValue((char *)"");
24831 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxDataObjectComposite
*result
;
24834 char *kwnames
[] = {
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24853 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24856 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24857 bool arg3
= (bool) False
;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 PyObject
* obj2
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24869 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24871 arg3
= (bool) SWIG_AsBool(obj2
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->Add(arg2
,arg3
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 Py_INCREF(Py_None
); resultobj
= Py_None
;
24888 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24891 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24893 return Py_BuildValue((char *)"");
24895 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24898 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24899 wxTextDataObject
*result
;
24900 bool temp1
= False
;
24901 PyObject
* obj0
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "text", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24909 arg1
= wxString_in_helper(obj0
);
24910 if (arg1
== NULL
) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24936 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (size_t)(arg1
)->GetTextLength();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24962 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (arg1
)->GetText();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24994 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24997 wxString
*arg2
= 0 ;
24998 bool temp2
= False
;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "text", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25009 arg2
= wxString_in_helper(obj1
);
25010 if (arg2
== NULL
) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->SetText((wxString
const &)*arg2
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25038 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25040 return Py_BuildValue((char *)"");
25042 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25045 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25046 wxPyTextDataObject
*result
;
25047 bool temp1
= False
;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "text", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25056 arg1
= wxString_in_helper(obj0
);
25057 if (arg1
== NULL
) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25083 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25086 PyObject
*arg2
= (PyObject
*) 0 ;
25087 PyObject
*arg3
= (PyObject
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "self",(char *) "_class", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25117 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25119 return Py_BuildValue((char *)"");
25121 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25124 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25125 wxBitmapDataObject
*result
;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "bitmap", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25136 if (arg1
== NULL
) {
25137 PyErr_SetString(PyExc_TypeError
,"null reference");
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25155 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25175 wxBitmap
* resultptr
;
25176 resultptr
= new wxBitmap((wxBitmap
&) result
);
25177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25185 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25188 wxBitmap
*arg2
= 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self",(char *) "bitmap", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25201 if (arg2
== NULL
) {
25202 PyErr_SetString(PyExc_TypeError
,"null reference");
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 Py_INCREF(Py_None
); resultobj
= Py_None
;
25219 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25222 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25224 return Py_BuildValue((char *)"");
25226 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25229 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25230 wxPyBitmapDataObject
*result
;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "bitmap", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25241 if (arg1
== NULL
) {
25242 PyErr_SetString(PyExc_TypeError
,"null reference");
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25260 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25263 PyObject
*arg2
= (PyObject
*) 0 ;
25264 PyObject
*arg3
= (PyObject
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 PyObject
* obj2
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "self",(char *) "_class", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 Py_INCREF(Py_None
); resultobj
= Py_None
;
25291 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25294 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25296 return Py_BuildValue((char *)"");
25298 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxFileDataObject
*result
;
25301 char *kwnames
[] = {
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (wxFileDataObject
*)new wxFileDataObject();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25320 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25323 wxArrayString
*result
;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25336 result
= (wxArrayString
*) &_result_ref
;
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= wxArrayString2PyList_helper(*result
);
25351 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25354 wxString
*arg2
= 0 ;
25355 bool temp2
= False
;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 char *kwnames
[] = {
25359 (char *) "self",(char *) "filename", NULL
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 arg2
= wxString_in_helper(obj1
);
25367 if (arg2
== NULL
) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->AddFile((wxString
const &)*arg2
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 Py_INCREF(Py_None
); resultobj
= Py_None
;
25392 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25395 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25397 return Py_BuildValue((char *)"");
25399 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25402 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25403 wxCustomDataObject
*result
;
25404 PyObject
* obj0
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "format", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25414 if (arg1
== NULL
) {
25415 PyErr_SetString(PyExc_TypeError
,"null reference");
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25433 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25436 PyObject
*arg2
= (PyObject
*) 0 ;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 char *kwnames
[] = {
25441 (char *) "self",(char *) "data", NULL
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25464 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25468 PyObject
* obj0
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (size_t)(arg1
)->GetSize();
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25490 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= result
;
25516 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25519 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25521 return Py_BuildValue((char *)"");
25523 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxURLDataObject
*result
;
25526 char *kwnames
[] = {
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (wxURLDataObject
*)new wxURLDataObject();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25545 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= (arg1
)->GetURL();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25577 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25580 wxString
*arg2
= 0 ;
25581 bool temp2
= False
;
25582 PyObject
* obj0
= 0 ;
25583 PyObject
* obj1
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self",(char *) "url", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 arg2
= wxString_in_helper(obj1
);
25593 if (arg2
== NULL
) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 (arg1
)->SetURL((wxString
const &)*arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25621 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25623 return Py_BuildValue((char *)"");
25625 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxMetafileDataObject
*result
;
25628 char *kwnames
[] = {
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25647 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25650 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25652 return Py_BuildValue((char *)"");
25654 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25658 PyObject
* obj0
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "res", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25664 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxWindow
*arg1
= (wxWindow
*) 0 ;
25685 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25686 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25687 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25688 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25689 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25690 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25691 wxPyDropSource
*result
;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 PyObject
* obj2
= 0 ;
25695 PyObject
* obj3
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25707 if (arg2
== NULL
) {
25708 PyErr_SetString(PyExc_TypeError
,"null reference");
25713 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25716 if (arg3
== NULL
) {
25717 PyErr_SetString(PyExc_TypeError
,"null reference");
25722 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25725 if (arg4
== NULL
) {
25726 PyErr_SetString(PyExc_TypeError
,"null reference");
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25744 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25747 PyObject
*arg2
= (PyObject
*) 0 ;
25748 PyObject
*arg3
= (PyObject
*) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 PyObject
* obj3
= 0 ;
25754 char *kwnames
[] = {
25755 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 arg4
= (int) SWIG_AsInt(obj3
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 Py_INCREF(Py_None
); resultobj
= Py_None
;
25779 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25782 PyObject
* obj0
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 Py_INCREF(Py_None
); resultobj
= Py_None
;
25804 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25807 wxDataObject
*arg2
= 0 ;
25808 PyObject
* obj0
= 0 ;
25809 PyObject
* obj1
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self",(char *) "data", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25820 if (arg2
== NULL
) {
25821 PyErr_SetString(PyExc_TypeError
,"null reference");
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 (arg1
)->SetData(*arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 Py_INCREF(Py_None
); resultobj
= Py_None
;
25838 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25841 wxDataObject
*result
;
25842 PyObject
* obj0
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25864 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25868 wxCursor
*arg3
= 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 PyObject
* obj2
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "res",(char *) "cursor", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25881 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25884 if (arg3
== NULL
) {
25885 PyErr_SetString(PyExc_TypeError
,"null reference");
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 Py_INCREF(Py_None
); resultobj
= Py_None
;
25902 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25905 int arg2
= (int) wxDrag_CopyOnly
;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 char *kwnames
[] = {
25910 (char *) "self",(char *) "flags", NULL
25913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 arg2
= (int) SWIG_AsInt(obj1
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (int)(arg1
)->DoDragDrop(arg2
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_FromInt((int)result
);
25934 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self",(char *) "effect", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25948 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25966 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25969 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25971 return Py_BuildValue((char *)"");
25973 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25976 wxPyDropTarget
*result
;
25977 PyObject
* obj0
= 0 ;
25978 char *kwnames
[] = {
25979 (char *) "dataObject", NULL
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25985 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26001 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26004 PyObject
*arg2
= (PyObject
*) 0 ;
26005 PyObject
*arg3
= (PyObject
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 PyObject
* obj2
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "self",(char *) "_class", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 Py_INCREF(Py_None
); resultobj
= Py_None
;
26032 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26057 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26060 wxDataObject
*result
;
26061 PyObject
* obj0
= 0 ;
26062 char *kwnames
[] = {
26063 (char *) "self", NULL
26066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26083 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
;
26085 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26086 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self",(char *) "dataObject", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26097 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 (arg1
)->SetDataObject(arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 Py_INCREF(Py_None
); resultobj
= Py_None
;
26112 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 PyObject
* obj2
= 0 ;
26122 PyObject
* obj3
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 arg2
= (int) SWIG_AsInt(obj1
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26132 arg3
= (int) SWIG_AsInt(obj2
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26134 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_FromInt((int)result
);
26150 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26160 PyObject
* obj3
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26168 arg2
= (int) SWIG_AsInt(obj1
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26170 arg3
= (int) SWIG_AsInt(obj2
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26172 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_FromInt((int)result
);
26188 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->base_OnLeave();
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 Py_INCREF(Py_None
); resultobj
= Py_None
;
26213 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 PyObject
* obj2
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self",(char *) "x",(char *) "y", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26229 arg2
= (int) SWIG_AsInt(obj1
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26231 arg3
= (int) SWIG_AsInt(obj2
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26249 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 result
= (bool)(arg1
)->GetData();
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26277 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26280 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26282 return Py_BuildValue((char *)"");
26284 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxPyTextDropTarget
*result
;
26287 char *kwnames
[] = {
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26306 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26309 PyObject
*arg2
= (PyObject
*) 0 ;
26310 PyObject
*arg3
= (PyObject
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 PyObject
* obj2
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "self",(char *) "_class", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 Py_INCREF(Py_None
); resultobj
= Py_None
;
26337 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 PyObject
* obj2
= 0 ;
26347 PyObject
* obj3
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 arg2
= (int) SWIG_AsInt(obj1
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26357 arg3
= (int) SWIG_AsInt(obj2
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26359 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= SWIG_FromInt((int)result
);
26375 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 PyObject
* obj2
= 0 ;
26385 PyObject
* obj3
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 arg2
= (int) SWIG_AsInt(obj1
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26395 arg3
= (int) SWIG_AsInt(obj2
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26397 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_FromInt((int)result
);
26413 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 (arg1
)->base_OnLeave();
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 Py_INCREF(Py_None
); resultobj
= Py_None
;
26438 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
;
26440 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26444 PyObject
* obj0
= 0 ;
26445 PyObject
* obj1
= 0 ;
26446 PyObject
* obj2
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "x",(char *) "y", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26454 arg2
= (int) SWIG_AsInt(obj1
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26456 arg3
= (int) SWIG_AsInt(obj2
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26474 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
;
26476 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 PyObject
* obj3
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26492 arg2
= (int) SWIG_AsInt(obj1
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26494 arg3
= (int) SWIG_AsInt(obj2
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26496 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 resultobj
= SWIG_FromInt((int)result
);
26512 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26515 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26517 return Py_BuildValue((char *)"");
26519 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxPyFileDropTarget
*result
;
26522 char *kwnames
[] = {
26526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26541 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26544 PyObject
*arg2
= (PyObject
*) 0 ;
26545 PyObject
*arg3
= (PyObject
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 PyObject
* obj1
= 0 ;
26548 PyObject
* obj2
= 0 ;
26549 char *kwnames
[] = {
26550 (char *) "self",(char *) "self",(char *) "_class", NULL
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 Py_INCREF(Py_None
); resultobj
= Py_None
;
26572 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 PyObject
* obj2
= 0 ;
26582 PyObject
* obj3
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26590 arg2
= (int) SWIG_AsInt(obj1
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26592 arg3
= (int) SWIG_AsInt(obj2
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26594 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_FromInt((int)result
);
26610 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 PyObject
* obj2
= 0 ;
26620 PyObject
* obj3
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26628 arg2
= (int) SWIG_AsInt(obj1
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26630 arg3
= (int) SWIG_AsInt(obj2
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26632 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_FromInt((int)result
);
26648 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
;
26650 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 char *kwnames
[] = {
26653 (char *) "self", NULL
26656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->base_OnLeave();
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 Py_INCREF(Py_None
); resultobj
= Py_None
;
26673 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
;
26675 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 PyObject
* obj2
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self",(char *) "x",(char *) "y", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26689 arg2
= (int) SWIG_AsInt(obj1
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26691 arg3
= (int) SWIG_AsInt(obj2
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26709 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26718 PyObject
* obj2
= 0 ;
26719 PyObject
* obj3
= 0 ;
26720 char *kwnames
[] = {
26721 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26727 arg2
= (int) SWIG_AsInt(obj1
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26729 arg3
= (int) SWIG_AsInt(obj2
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26731 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_FromInt((int)result
);
26747 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26750 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26752 return Py_BuildValue((char *)"");
26754 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
;
26756 wxClipboard
*result
;
26757 char *kwnames
[] = {
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 result
= (wxClipboard
*)new wxClipboard();
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26776 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
;
26778 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 Py_INCREF(Py_None
); resultobj
= Py_None
;
26801 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (bool)(arg1
)->Open();
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26829 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 Py_INCREF(Py_None
); resultobj
= Py_None
;
26854 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self", NULL
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26882 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26885 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "data", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26897 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= (bool)(arg1
)->AddData(arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26914 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26917 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "data", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26929 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (bool)(arg1
)->SetData(arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26946 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
;
26948 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26949 wxDataFormat
*arg2
= 0 ;
26951 PyObject
* obj0
= 0 ;
26952 PyObject
* obj1
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self",(char *) "format", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26963 if (arg2
== NULL
) {
26964 PyErr_SetString(PyExc_TypeError
,"null reference");
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26986 wxDataObject
*arg2
= 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 char *kwnames
[] = {
26991 (char *) "self",(char *) "data", NULL
26994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27000 if (arg2
== NULL
) {
27001 PyErr_SetString(PyExc_TypeError
,"null reference");
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (bool)(arg1
)->GetData(*arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27020 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 Py_INCREF(Py_None
); resultobj
= Py_None
;
27045 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)(arg1
)->Flush();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27073 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27076 bool arg2
= (bool) True
;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self",(char *) "primary", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27087 arg2
= (bool) SWIG_AsBool(obj1
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27092 (arg1
)->UsePrimarySelection(arg2
);
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 Py_INCREF(Py_None
); resultobj
= Py_None
;
27104 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27107 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27109 return Py_BuildValue((char *)"");
27111 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27112 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27117 static PyObject
*_wrap_TheClipboard_get() {
27120 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27125 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
;
27127 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27128 wxClipboardLocker
*result
;
27129 PyObject
* obj0
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "clipboard", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27153 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 Py_INCREF(Py_None
); resultobj
= Py_None
;
27178 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27209 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27211 return Py_BuildValue((char *)"");
27213 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27214 PyObject
*resultobj
;
27215 int arg1
= (int) 0 ;
27216 int arg2
= (int) 0 ;
27217 int arg3
= (int) 0 ;
27218 int arg4
= (int) 0 ;
27219 wxVideoMode
*result
;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 PyObject
* obj2
= 0 ;
27223 PyObject
* obj3
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27230 arg1
= (int) SWIG_AsInt(obj0
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27234 arg2
= (int) SWIG_AsInt(obj1
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27238 arg3
= (int) SWIG_AsInt(obj2
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 arg4
= (int) SWIG_AsInt(obj3
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27259 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 Py_INCREF(Py_None
); resultobj
= Py_None
;
27284 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27287 wxVideoMode
*arg2
= 0 ;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "self",(char *) "other", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27301 if (arg2
== NULL
) {
27302 PyErr_SetString(PyExc_TypeError
,"null reference");
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27321 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27325 PyObject
* obj0
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= SWIG_FromInt((int)result
);
27347 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27351 PyObject
* obj0
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_FromInt((int)result
);
27373 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_FromInt((int)result
);
27399 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27403 PyObject
* obj0
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27427 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
;
27429 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27430 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "other", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27459 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27462 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "other", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27491 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self",(char *) "w", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27504 arg2
= (int) SWIG_AsInt(obj1
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27506 if (arg1
) (arg1
)->w
= arg2
;
27508 Py_INCREF(Py_None
); resultobj
= Py_None
;
27515 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 result
= (int) ((arg1
)->w
);
27529 resultobj
= SWIG_FromInt((int)result
);
27536 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "h", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27549 arg2
= (int) SWIG_AsInt(obj1
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27551 if (arg1
) (arg1
)->h
= arg2
;
27553 Py_INCREF(Py_None
); resultobj
= Py_None
;
27560 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "self", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27572 result
= (int) ((arg1
)->h
);
27574 resultobj
= SWIG_FromInt((int)result
);
27581 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self",(char *) "bpp", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27594 arg2
= (int) SWIG_AsInt(obj1
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27596 if (arg1
) (arg1
)->bpp
= arg2
;
27598 Py_INCREF(Py_None
); resultobj
= Py_None
;
27605 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 char *kwnames
[] = {
27611 (char *) "self", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27617 result
= (int) ((arg1
)->bpp
);
27619 resultobj
= SWIG_FromInt((int)result
);
27626 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "refresh", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 arg2
= (int) SWIG_AsInt(obj1
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27641 if (arg1
) (arg1
)->refresh
= arg2
;
27643 Py_INCREF(Py_None
); resultobj
= Py_None
;
27650 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 result
= (int) ((arg1
)->refresh
);
27664 resultobj
= SWIG_FromInt((int)result
);
27671 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27674 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27676 return Py_BuildValue((char *)"");
27678 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27679 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27684 static PyObject
*_wrap_DefaultVideoMode_get() {
27687 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27692 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 size_t arg1
= (size_t) 0 ;
27696 PyObject
* obj0
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "index", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27703 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (wxDisplay
*)new wxDisplay(arg1
);
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27720 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
;
27722 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27723 PyObject
* obj0
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "self", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 Py_INCREF(Py_None
); resultobj
= Py_None
;
27745 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27748 char *kwnames
[] = {
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (size_t)wxDisplay::GetCount();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27767 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxPoint
*arg1
= 0 ;
27772 PyObject
* obj0
= 0 ;
27773 char *kwnames
[] = {
27774 (char *) "pt", NULL
27777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27780 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_FromInt((int)result
);
27796 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxWindow
*arg1
= (wxWindow
*) 0 ;
27800 PyObject
* obj0
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "window", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 result
= (int)Display_GetFromWindow(arg1
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_FromInt((int)result
);
27822 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
;
27824 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27826 PyObject
* obj0
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27836 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27850 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27870 wxRect
* resultptr
;
27871 resultptr
= new wxRect((wxRect
&) result
);
27872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27880 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= ((wxDisplay
const *)arg1
)->GetName();
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27912 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27916 PyObject
* obj0
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27940 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27943 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27944 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 char *kwnames
[] = {
27949 (char *) "self",(char *) "mode", NULL
27952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27959 if (arg2
== NULL
) {
27960 PyErr_SetString(PyExc_TypeError
,"null reference");
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= result
;
27978 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27981 wxVideoMode result
;
27982 PyObject
* obj0
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27998 wxVideoMode
* resultptr
;
27999 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28008 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
;
28010 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28011 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28012 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "mode", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28027 if (arg2
== NULL
) {
28028 PyErr_SetString(PyExc_TypeError
,"null reference");
28033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28034 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28048 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28049 PyObject
*resultobj
;
28050 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 (arg1
)->ResetMode();
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 Py_INCREF(Py_None
); resultobj
= Py_None
;
28073 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28076 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28078 return Py_BuildValue((char *)"");
28080 static PyMethodDef SwigMethods
[] = {
28081 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28088 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28095 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28155 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28163 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28179 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28184 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28187 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28190 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28196 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28210 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28216 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28222 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28225 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28239 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28242 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28243 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28246 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28273 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28275 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28277 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28279 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28286 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28292 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28305 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28310 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28313 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28330 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28338 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28384 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28412 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28422 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28438 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28454 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28468 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28477 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28520 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28523 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28526 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28530 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28622 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28623 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28624 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28625 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28626 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28627 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28628 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28629 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28630 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28631 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28642 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28687 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28721 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28729 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28730 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28735 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28744 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28751 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28754 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28757 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28762 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28765 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28769 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28772 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28776 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28781 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28785 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28787 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28797 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28808 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28816 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28824 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28837 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28841 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28859 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28877 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28879 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28880 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28882 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28883 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28885 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28886 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28888 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28889 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28891 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28892 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28894 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28895 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28897 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28898 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28900 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28901 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28903 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28904 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28906 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28907 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28909 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28910 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28912 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28913 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28915 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28916 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28918 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28919 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28921 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28922 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28924 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28925 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28927 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28928 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28930 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28931 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28933 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28934 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28936 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28937 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28939 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28940 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28942 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28943 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28945 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28946 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28948 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28949 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28951 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28952 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28954 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28955 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28957 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28958 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28960 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28961 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28963 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28964 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28966 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28969 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28970 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28972 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28973 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28975 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28976 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28978 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28981 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28984 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28985 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28987 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28988 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28990 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28991 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28993 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28994 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28996 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28997 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28999 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29000 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29002 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29003 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29005 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29006 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29008 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29009 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29011 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29012 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29014 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29015 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29017 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29018 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29020 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29021 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29023 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29024 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29026 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29027 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29029 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29030 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29032 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29033 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29035 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29036 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29038 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29039 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29041 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29042 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29044 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29045 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29047 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29048 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29050 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29051 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29053 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29054 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29056 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29057 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29059 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29060 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29062 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29063 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29065 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29066 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29068 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29069 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29071 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29074 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29075 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29077 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29078 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29080 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29081 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29083 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29084 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29086 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29087 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29089 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29090 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29092 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29093 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29095 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29096 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29098 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29101 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29104 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29107 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29110 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29113 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29116 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29119 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) ((wxSizer
*) x
));
29122 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29125 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29128 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29131 static void *_p_wxEventTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) ((wxEvent
*) x
));
29134 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29137 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29140 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29143 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29146 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29149 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29152 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29155 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29158 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29161 static void *_p_wxControlTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29164 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29167 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29170 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29173 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29176 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29179 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29182 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29185 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29188 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29191 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29194 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29197 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29200 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29203 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29206 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29209 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29212 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29215 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29218 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29221 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29224 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29227 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29230 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29233 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29236 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29239 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29242 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29245 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29248 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29251 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29254 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29255 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29257 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29258 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29260 static void *_p_wxImageTo_p_wxObject(void *x
) {
29261 return (void *)((wxObject
*) ((wxImage
*) x
));
29263 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29264 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29266 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29269 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29272 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29275 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29278 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29281 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29282 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29284 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29285 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29287 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29290 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29293 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29296 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29299 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29302 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29305 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29308 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29309 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29311 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29312 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29314 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29315 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29317 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29320 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29323 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29326 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29329 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29332 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29335 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29338 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29341 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29344 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29347 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29348 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29350 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29351 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29353 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29354 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29356 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29357 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29359 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29360 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29362 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29363 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29365 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29366 return (void *)((wxWindow
*) ((wxControl
*) x
));
29368 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29369 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29371 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29372 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29374 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29375 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29377 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29378 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29466 static swig_type_info
*swig_types_initial
[] = {
29467 _swigt__p_wxLogChain
,
29468 _swigt__p_wxMutexGuiLocker
,
29469 _swigt__p_wxFileHistory
,
29471 _swigt__p_wxDateTime__TimeZone
,
29474 _swigt__p_wxConfigBase
,
29475 _swigt__p_wxDisplay
,
29476 _swigt__p_wxFileType
,
29477 _swigt__p_wxLogGui
,
29479 _swigt__p_wxDataFormat
,
29480 _swigt__p_wxTimerEvent
,
29484 _swigt__p_wxClipboard
,
29485 _swigt__p_wxStopWatch
,
29487 _swigt__p_wxClipboardLocker
,
29489 _swigt__p_wxLogStderr
,
29490 _swigt__p_wxLogTextCtrl
,
29491 _swigt__p_wxTextCtrl
,
29492 _swigt__p_wxBusyCursor
,
29493 _swigt__p_wxPyBitmapDataObject
,
29494 _swigt__p_wxPyTextDataObject
,
29495 _swigt__p_wxBitmapDataObject
,
29496 _swigt__p_wxTextDataObject
,
29497 _swigt__p_wxDataObject
,
29498 _swigt__p_wxFileDataObject
,
29499 _swigt__p_wxCustomDataObject
,
29500 _swigt__p_wxURLDataObject
,
29501 _swigt__p_wxMetafileDataObject
,
29503 _swigt__p_wxTimerRunner
,
29504 _swigt__p_wxLogWindow
,
29505 _swigt__p_wxTimeSpan
,
29506 _swigt__p_wxArrayString
,
29507 _swigt__p_wxWindowDisabler
,
29508 _swigt__p_wxToolTip
,
29509 _swigt__p_wxDataObjectComposite
,
29510 _swigt__p_wxFileConfig
,
29511 _swigt__p_wxSystemSettings
,
29512 _swigt__p_wxVideoMode
,
29513 _swigt__p_wxPyDataObjectSimple
,
29514 _swigt__p_wxDataObjectSimple
,
29515 _swigt__p_wxEvtHandler
,
29518 _swigt__p_wxSingleInstanceChecker
,
29519 _swigt__p_wxFileTypeInfo
,
29522 _swigt__p_wxMimeTypesManager
,
29523 _swigt__p_wxPyArtProvider
,
29524 _swigt__p_wxPyTipProvider
,
29525 _swigt__p_wxTipProvider
,
29526 _swigt__p_wxJoystick
,
29527 _swigt__p_wxSystemOptions
,
29529 _swigt__p_wxJoystickEvent
,
29530 _swigt__p_wxCursor
,
29531 _swigt__p_wxObject
,
29532 _swigt__p_wxOutputStream
,
29533 _swigt__p_wxDateTime
,
29534 _swigt__p_wxPyDropSource
,
29535 _swigt__p_wxWindow
,
29536 _swigt__p_wxString
,
29537 _swigt__p_wxPyProcess
,
29538 _swigt__p_wxBitmap
,
29539 _swigt__p_wxConfig
,
29541 _swigt__p_wxBusyInfo
,
29542 _swigt__p_wxPyDropTarget
,
29543 _swigt__p_wxPyTextDropTarget
,
29544 _swigt__p_wxPyFileDropTarget
,
29545 _swigt__p_wxProcessEvent
,
29547 _swigt__p_wxLogNull
,
29548 _swigt__p_wxColour
,
29549 _swigt__p_wxConfigPathChanger
,
29550 _swigt__p_wxPyTimer
,
29551 _swigt__p_wxDateSpan
,
29556 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29558 static swig_const_info swig_const_table
[] = {
29559 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29560 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29561 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29562 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29563 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29573 SWIGEXPORT(void) SWIG_init(void) {
29574 static PyObject
*SWIG_globals
= 0;
29575 static int typeinit
= 0;
29578 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29579 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29580 d
= PyModule_GetDict(m
);
29583 for (i
= 0; swig_types_initial
[i
]; i
++) {
29584 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29588 SWIG_InstallConstants(d
,swig_const_table
);
29590 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29591 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29592 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29593 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29594 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29595 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29596 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29597 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29598 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29624 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29625 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29626 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29627 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29628 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29629 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29630 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29631 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29632 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29633 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29634 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29635 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29636 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29637 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29638 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29639 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29640 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29641 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29642 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29643 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29644 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29645 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29646 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29647 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29648 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29649 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29650 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29651 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29652 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29653 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29654 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29655 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29656 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29657 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29658 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29659 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29660 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29661 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29662 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29663 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29664 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29665 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29666 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29667 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29668 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29669 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29670 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29671 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29672 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29673 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29674 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29675 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29676 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29677 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29678 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29679 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29680 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29681 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29682 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29683 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29684 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29685 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29686 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29687 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29688 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29689 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29691 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29693 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29694 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29695 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29696 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29697 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29698 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29699 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29700 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29701 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29702 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29703 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29704 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29705 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29706 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29707 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29708 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29709 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29710 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29711 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29712 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29713 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29714 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29715 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29716 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29717 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29718 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29719 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29720 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29721 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29722 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29723 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29724 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29725 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29726 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29727 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29728 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29729 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29730 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29731 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29732 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29733 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29734 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29735 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29736 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29737 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29738 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29739 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29740 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29741 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29742 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29744 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29746 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29747 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29748 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29749 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29750 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29751 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29752 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29753 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29754 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29755 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29756 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29757 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29758 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29759 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29760 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29761 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29762 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29763 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29764 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29765 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29799 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29803 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29805 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29807 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29808 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29809 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29810 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29811 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29812 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29813 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29814 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29815 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29816 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29817 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29818 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29819 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29820 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29821 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29822 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29823 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29824 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29825 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29826 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29827 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29828 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29829 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29830 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29831 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29832 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29833 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29834 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29835 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29836 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29837 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29838 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29839 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29840 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29841 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29842 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29843 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29844 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29845 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29846 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29847 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29848 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29849 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29850 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29851 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29852 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29853 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29854 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29855 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29856 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29857 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29858 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29859 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29860 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29861 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29862 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29863 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29864 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29865 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29866 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29867 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29868 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29869 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29870 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29871 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29920 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29921 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29922 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29923 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29924 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29925 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29926 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29927 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29928 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29929 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29930 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29931 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29932 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29933 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29934 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29935 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29936 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29937 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29938 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29939 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29940 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29941 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29942 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29943 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29944 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29945 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29946 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29947 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29948 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29949 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29950 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29951 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29952 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29953 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29954 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29955 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29956 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29957 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29958 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29959 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29960 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29961 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29962 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29963 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29964 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29965 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29966 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29967 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29968 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29969 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29970 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29971 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29972 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29973 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29974 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29975 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29976 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29977 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29978 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29979 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29980 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29981 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29982 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29983 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29984 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29985 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29986 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29987 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29988 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29989 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29990 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29991 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29992 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29993 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29994 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29995 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29996 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29997 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29998 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29999 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30000 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30001 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30002 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30003 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30004 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30005 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30006 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30008 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30009 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30010 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30011 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30013 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30014 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);