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 // Create a new class for wxPython to use
1277 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1279 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1280 : wxDataObjectSimple(format
) {}
1282 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1283 bool GetDataHere(void *buf
) const;
1284 bool SetData(size_t len
, const void *buf
) const;
1288 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1290 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1291 // We need to get the data for this object and write it to buf. I think
1292 // the best way to do this for wxPython is to have the Python method
1293 // return either a string or None and then act appropriately with the
1297 bool blocked
= wxPyBeginBlockThreads();
1298 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1302 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1304 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1308 wxPyEndBlockThreads(blocked
);
1312 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1313 // For this one we simply need to make a string from buf and len
1314 // and send it to the Python method.
1316 bool blocked
= wxPyBeginBlockThreads();
1317 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1318 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1319 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1322 wxPyEndBlockThreads(blocked
);
1326 // Create a new class for wxPython to use
1327 class wxPyTextDataObject
: public wxTextDataObject
{
1329 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1330 : wxTextDataObject(text
) {}
1332 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1333 DEC_PYCALLBACK_STRING__const(GetText
);
1334 DEC_PYCALLBACK__STRING(SetText
);
1338 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1339 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1340 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1343 // Create a new class for wxPython to use
1344 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1346 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1347 : wxBitmapDataObject(bitmap
) {}
1349 wxBitmap
GetBitmap() const;
1350 void SetBitmap(const wxBitmap
& bitmap
);
1354 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1355 wxBitmap
* rval
= &wxNullBitmap
;
1356 bool blocked
= wxPyBeginBlockThreads();
1357 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1360 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1362 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1367 wxPyEndBlockThreads(blocked
);
1371 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1372 bool blocked
= wxPyBeginBlockThreads();
1373 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1374 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1375 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1378 wxPyEndBlockThreads(blocked
);
1381 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1382 if (PyString_Check(data
)) {
1383 // for Python we just call SetData here since we always need it to make a copy.
1384 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1387 // raise a TypeError if not a string
1388 PyErr_SetString(PyExc_TypeError
, "String expected.");
1391 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1392 if (PyString_Check(data
)) {
1393 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1396 // raise a TypeError if not a string
1397 PyErr_SetString(PyExc_TypeError
, "String expected.");
1401 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1402 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1405 class wxMetafileDataObject
: public wxDataObjectSimple
1408 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1412 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1415 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1416 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1417 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1418 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1419 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1422 class wxPyTextDropTarget
: public wxTextDropTarget
{
1424 wxPyTextDropTarget() {}
1426 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1428 DEC_PYCALLBACK__(OnLeave
);
1429 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1430 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1431 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1432 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1437 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1438 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1439 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1440 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1441 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1442 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1446 class wxPyFileDropTarget
: public wxFileDropTarget
{
1448 wxPyFileDropTarget() {}
1450 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1452 DEC_PYCALLBACK__(OnLeave
);
1453 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1454 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1455 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1456 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1461 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1462 const wxArrayString
& filenames
) {
1464 bool blocked
= wxPyBeginBlockThreads();
1465 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1466 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1467 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1470 wxPyEndBlockThreads(blocked
);
1476 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1477 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1478 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1479 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1480 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1485 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1487 #include "wx/display.h"
1489 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1490 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1491 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1492 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1493 PyObject
* pyList
= NULL
;
1494 wxArrayVideoModes arr
= self
->GetModes(mode
);
1495 bool blocked
= wxPyBeginBlockThreads();
1496 pyList
= PyList_New(0);
1497 for (int i
=0; i
< arr
.GetCount(); i
++) {
1498 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1499 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1500 PyList_Append(pyList
, pyObj
);
1502 wxPyEndBlockThreads(blocked
);
1508 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "index", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1518 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1528 wxColour
* resultptr
;
1529 resultptr
= new wxColour((wxColour
&) result
);
1530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1538 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1542 PyObject
* obj0
= 0 ;
1544 (char *) "index", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1548 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1559 resultptr
= new wxFont((wxFont
&) result
);
1560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1568 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1572 PyObject
* obj0
= 0 ;
1574 (char *) "index", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1578 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 resultobj
= SWIG_FromInt((int)result
);
1594 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1598 PyObject
* obj0
= 0 ;
1600 (char *) "index", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1604 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1622 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (int)wxSystemSettings::GetScreenType();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= SWIG_FromInt((int)result
);
1644 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1647 PyObject
* obj0
= 0 ;
1649 (char *) "screen", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1653 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1669 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1672 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1674 return Py_BuildValue((char *)"");
1676 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxSystemOptions
*result
;
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 result
= (wxSystemOptions
*)new wxSystemOptions();
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1698 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
*resultobj
;
1700 wxString
*arg1
= 0 ;
1701 wxString
*arg2
= 0 ;
1702 bool temp1
= False
;
1703 bool temp2
= False
;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1707 (char *) "name",(char *) "value", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1712 arg1
= wxString_in_helper(obj0
);
1713 if (arg1
== NULL
) SWIG_fail
;
1717 arg2
= wxString_in_helper(obj1
);
1718 if (arg2
== NULL
) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1728 Py_INCREF(Py_None
); resultobj
= Py_None
;
1751 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
*resultobj
;
1753 wxString
*arg1
= 0 ;
1755 bool temp1
= False
;
1756 PyObject
* obj0
= 0 ;
1757 PyObject
* obj1
= 0 ;
1759 (char *) "name",(char *) "value", NULL
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1764 arg1
= wxString_in_helper(obj0
);
1765 if (arg1
== NULL
) SWIG_fail
;
1768 arg2
= (int) SWIG_AsInt(obj1
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxString
*arg1
= 0 ;
1796 bool temp1
= False
;
1797 PyObject
* obj0
= 0 ;
1799 (char *) "name", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1804 arg1
= wxString_in_helper(obj0
);
1805 if (arg1
== NULL
) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1836 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxString
*arg1
= 0 ;
1840 bool temp1
= False
;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "name", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1848 arg1
= wxString_in_helper(obj0
);
1849 if (arg1
== NULL
) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 resultobj
= SWIG_FromInt((int)result
);
1874 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxString
*arg1
= 0 ;
1878 bool temp1
= False
;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "name", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1886 arg1
= wxString_in_helper(obj0
);
1887 if (arg1
== NULL
) SWIG_fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1914 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1919 return Py_BuildValue((char *)"");
1921 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1922 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1927 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1932 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1934 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1941 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1942 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1947 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1952 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1954 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1961 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1962 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1967 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1972 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1974 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1981 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (long)wxNewId();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= SWIG_FromLong((long)result
);
2003 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2006 PyObject
* obj0
= 0 ;
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2012 arg1
= (long) SWIG_AsLong(obj0
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 Py_INCREF(Py_None
); resultobj
= Py_None
;
2028 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (long)wxGetCurrentId();
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_FromLong((long)result
);
2050 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 Py_INCREF(Py_None
); resultobj
= Py_None
;
2092 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 bool arg1
= (bool) True
;
2096 PyObject
* obj0
= 0 ;
2098 (char *) "resetTimer", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2103 arg1
= (bool) SWIG_AsBool(obj0
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 result
= (long)wxGetElapsedTime(arg1
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= SWIG_FromLong((long)result
);
2120 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2122 int *arg1
= (int *) 0 ;
2123 int *arg2
= (int *) 0 ;
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 wxGetMousePosition(arg1
,arg2
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 Py_INCREF(Py_None
); resultobj
= Py_None
;
2142 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2143 resultobj
= t_output_helper(resultobj
,o
);
2146 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2147 resultobj
= t_output_helper(resultobj
,o
);
2155 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (bool)wxIsBusy();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2179 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2207 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2210 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2212 bool temp1
= False
;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "command", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2221 arg1
= wxString_in_helper(obj0
);
2222 if (arg1
== NULL
) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= (bool)wxShell((wxString
const &)*arg1
);
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2250 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2264 Py_INCREF(Py_None
); resultobj
= Py_None
;
2271 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 int *arg1
= (int *) 0 ;
2274 int *arg2
= (int *) 0 ;
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 result
= (int)wxGetOsVersion(arg1
,arg2
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 resultobj
= SWIG_FromInt((int)result
);
2294 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2295 resultobj
= t_output_helper(resultobj
,o
);
2298 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2299 resultobj
= t_output_helper(resultobj
,o
);
2307 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= wxGetOsDescription();
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2335 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 result
= (long)wxGetFreeMemory();
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 resultobj
= SWIG_FromLong((long)result
);
2357 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2361 PyObject
* obj0
= 0 ;
2363 (char *) "wFlags", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2367 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2385 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2388 PyObject
* obj0
= 0 ;
2390 (char *) "secs", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2394 arg1
= (int) SWIG_AsInt(obj0
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2410 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 unsigned long arg1
;
2413 PyObject
* obj0
= 0 ;
2415 (char *) "milliseconds", NULL
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2419 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2428 Py_INCREF(Py_None
); resultobj
= Py_None
;
2435 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "enable", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2444 arg1
= (bool) SWIG_AsBool(obj0
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 wxEnableTopLevelWindows(arg1
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2453 Py_INCREF(Py_None
); resultobj
= Py_None
;
2460 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
*resultobj
;
2462 wxString
*arg1
= 0 ;
2464 bool temp1
= False
;
2465 PyObject
* obj0
= 0 ;
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2472 arg1
= wxString_in_helper(obj0
);
2473 if (arg1
== NULL
) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2504 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= wxGetEmailAddress();
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2532 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 result
= wxGetHostName();
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2560 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= wxGetFullHostName();
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2588 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= wxGetUserId();
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2616 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= wxGetUserName();
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2644 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= wxGetHomeDir();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2672 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2675 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2677 bool temp1
= False
;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "user", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2686 arg1
= wxString_in_helper(obj0
);
2687 if (arg1
== NULL
) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= wxGetUserHome((wxString
const &)*arg1
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2719 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
*resultobj
;
2721 unsigned long result
;
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 result
= (unsigned long)wxGetProcessId();
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2741 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 Py_INCREF(Py_None
); resultobj
= Py_None
;
2762 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2765 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2766 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2767 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2770 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2771 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2772 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2773 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2774 int arg6
= (int) 0 ;
2775 wxWindow
*arg7
= (wxWindow
*) NULL
;
2776 int arg8
= (int) -1 ;
2777 int arg9
= (int) -1 ;
2779 bool temp1
= False
;
2780 bool temp2
= False
;
2781 bool temp3
= False
;
2782 bool temp4
= False
;
2783 bool temp5
= False
;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2787 PyObject
* obj3
= 0 ;
2788 PyObject
* obj4
= 0 ;
2789 PyObject
* obj5
= 0 ;
2790 PyObject
* obj6
= 0 ;
2791 PyObject
* obj7
= 0 ;
2792 PyObject
* obj8
= 0 ;
2794 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2800 arg1
= wxString_in_helper(obj0
);
2801 if (arg1
== NULL
) SWIG_fail
;
2807 arg2
= wxString_in_helper(obj1
);
2808 if (arg2
== NULL
) SWIG_fail
;
2814 arg3
= wxString_in_helper(obj2
);
2815 if (arg3
== NULL
) SWIG_fail
;
2821 arg4
= wxString_in_helper(obj3
);
2822 if (arg4
== NULL
) SWIG_fail
;
2828 arg5
= wxString_in_helper(obj4
);
2829 if (arg5
== NULL
) SWIG_fail
;
2834 arg6
= (int) SWIG_AsInt(obj5
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2838 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg8
= (int) SWIG_AsInt(obj7
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 arg9
= (int) SWIG_AsInt(obj8
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2909 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxString
*arg1
= 0 ;
2912 wxString
*arg2
= 0 ;
2913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2915 wxWindow
*arg4
= (wxWindow
*) NULL
;
2917 bool temp1
= False
;
2918 bool temp2
= False
;
2919 bool temp3
= False
;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2922 PyObject
* obj2
= 0 ;
2923 PyObject
* obj3
= 0 ;
2925 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2930 arg1
= wxString_in_helper(obj0
);
2931 if (arg1
== NULL
) SWIG_fail
;
2935 arg2
= wxString_in_helper(obj1
);
2936 if (arg2
== NULL
) SWIG_fail
;
2941 arg3
= wxString_in_helper(obj2
);
2942 if (arg3
== NULL
) SWIG_fail
;
2947 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2994 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxString
*arg1
= 0 ;
2997 wxString
*arg2
= 0 ;
2998 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2999 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3000 wxWindow
*arg4
= (wxWindow
*) NULL
;
3002 bool temp1
= False
;
3003 bool temp2
= False
;
3004 bool temp3
= False
;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3007 PyObject
* obj2
= 0 ;
3008 PyObject
* obj3
= 0 ;
3010 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3015 arg1
= wxString_in_helper(obj0
);
3016 if (arg1
== NULL
) SWIG_fail
;
3020 arg2
= wxString_in_helper(obj1
);
3021 if (arg2
== NULL
) SWIG_fail
;
3026 arg3
= wxString_in_helper(obj2
);
3027 if (arg3
== NULL
) SWIG_fail
;
3032 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3079 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3082 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3083 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3084 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3085 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3088 wxWindow
*arg5
= (wxWindow
*) NULL
;
3090 bool temp1
= False
;
3091 bool temp2
= False
;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3095 PyObject
* obj2
= 0 ;
3096 PyObject
* obj3
= 0 ;
3097 PyObject
* obj4
= 0 ;
3099 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3105 arg1
= wxString_in_helper(obj0
);
3106 if (arg1
== NULL
) SWIG_fail
;
3112 arg2
= wxString_in_helper(obj1
);
3113 if (arg2
== NULL
) SWIG_fail
;
3118 arg3
= (long) SWIG_AsLong(obj2
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3124 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3128 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3167 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxString
*arg1
= 0 ;
3170 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3171 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3172 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3173 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3174 wxWindow
*arg4
= (wxWindow
*) NULL
;
3175 int arg5
= (int) -1 ;
3176 int arg6
= (int) -1 ;
3177 bool arg7
= (bool) True
;
3179 bool temp1
= False
;
3180 bool temp2
= False
;
3181 bool temp3
= False
;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3184 PyObject
* obj2
= 0 ;
3185 PyObject
* obj3
= 0 ;
3186 PyObject
* obj4
= 0 ;
3187 PyObject
* obj5
= 0 ;
3188 PyObject
* obj6
= 0 ;
3190 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3195 arg1
= wxString_in_helper(obj0
);
3196 if (arg1
== NULL
) SWIG_fail
;
3201 arg2
= wxString_in_helper(obj1
);
3202 if (arg2
== NULL
) SWIG_fail
;
3208 arg3
= wxString_in_helper(obj2
);
3209 if (arg3
== NULL
) SWIG_fail
;
3214 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 arg5
= (int) SWIG_AsInt(obj4
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3222 arg6
= (int) SWIG_AsInt(obj5
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 arg7
= (bool) SWIG_AsBool(obj6
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3273 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxString
*arg1
= 0 ;
3276 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3277 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3280 wxWindow
*arg4
= (wxWindow
*) NULL
;
3282 bool temp1
= False
;
3283 bool temp2
= False
;
3284 bool temp3
= False
;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3287 PyObject
* obj2
= 0 ;
3288 PyObject
* obj3
= 0 ;
3290 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3295 arg1
= wxString_in_helper(obj0
);
3296 if (arg1
== NULL
) SWIG_fail
;
3301 arg2
= wxString_in_helper(obj1
);
3302 if (arg2
== NULL
) SWIG_fail
;
3308 arg3
= wxString_in_helper(obj2
);
3309 if (arg3
== NULL
) SWIG_fail
;
3314 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3361 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxString
*arg1
= 0 ;
3364 wxString
*arg2
= 0 ;
3366 wxString
*arg4
= (wxString
*) 0 ;
3367 wxWindow
*arg5
= (wxWindow
*) NULL
;
3368 int arg6
= (int) -1 ;
3369 int arg7
= (int) -1 ;
3370 bool arg8
= (bool) True
;
3371 int arg9
= (int) 150 ;
3372 int arg10
= (int) 200 ;
3374 bool temp1
= False
;
3375 bool temp2
= False
;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3378 PyObject
* obj2
= 0 ;
3379 PyObject
* obj3
= 0 ;
3380 PyObject
* obj4
= 0 ;
3381 PyObject
* obj5
= 0 ;
3382 PyObject
* obj6
= 0 ;
3383 PyObject
* obj7
= 0 ;
3384 PyObject
* obj8
= 0 ;
3386 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3391 arg1
= wxString_in_helper(obj0
);
3392 if (arg1
== NULL
) SWIG_fail
;
3396 arg2
= wxString_in_helper(obj1
);
3397 if (arg2
== NULL
) SWIG_fail
;
3401 arg3
= PyList_Size(obj2
);
3402 arg4
= wxString_LIST_helper(obj2
);
3403 if (arg4
== NULL
) SWIG_fail
;
3406 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 arg6
= (int) SWIG_AsInt(obj4
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3414 arg7
= (int) SWIG_AsInt(obj5
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3418 arg8
= (bool) SWIG_AsBool(obj6
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 arg9
= (int) SWIG_AsInt(obj7
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3426 arg10
= (int) SWIG_AsInt(obj8
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3452 if (arg4
) delete [] arg4
;
3465 if (arg4
) delete [] arg4
;
3471 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxString
*arg1
= 0 ;
3474 wxString
*arg2
= 0 ;
3476 wxString
*arg4
= (wxString
*) 0 ;
3477 wxWindow
*arg5
= (wxWindow
*) NULL
;
3478 int arg6
= (int) -1 ;
3479 int arg7
= (int) -1 ;
3480 bool arg8
= (bool) True
;
3481 int arg9
= (int) 150 ;
3482 int arg10
= (int) 200 ;
3484 bool temp1
= False
;
3485 bool temp2
= False
;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3488 PyObject
* obj2
= 0 ;
3489 PyObject
* obj3
= 0 ;
3490 PyObject
* obj4
= 0 ;
3491 PyObject
* obj5
= 0 ;
3492 PyObject
* obj6
= 0 ;
3493 PyObject
* obj7
= 0 ;
3494 PyObject
* obj8
= 0 ;
3496 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3501 arg1
= wxString_in_helper(obj0
);
3502 if (arg1
== NULL
) SWIG_fail
;
3506 arg2
= wxString_in_helper(obj1
);
3507 if (arg2
== NULL
) SWIG_fail
;
3511 arg3
= PyList_Size(obj2
);
3512 arg4
= wxString_LIST_helper(obj2
);
3513 if (arg4
== NULL
) SWIG_fail
;
3516 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3520 arg6
= (int) SWIG_AsInt(obj4
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3524 arg7
= (int) SWIG_AsInt(obj5
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 arg8
= (bool) SWIG_AsBool(obj6
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 arg9
= (int) SWIG_AsInt(obj7
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 arg10
= (int) SWIG_AsInt(obj8
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_FromInt((int)result
);
3556 if (arg4
) delete [] arg4
;
3569 if (arg4
) delete [] arg4
;
3575 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxString
*arg1
= 0 ;
3578 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3579 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3580 int arg3
= (int) wxOK
|wxCENTRE
;
3581 wxWindow
*arg4
= (wxWindow
*) NULL
;
3582 int arg5
= (int) -1 ;
3583 int arg6
= (int) -1 ;
3585 bool temp1
= False
;
3586 bool temp2
= False
;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3589 PyObject
* obj2
= 0 ;
3590 PyObject
* obj3
= 0 ;
3591 PyObject
* obj4
= 0 ;
3592 PyObject
* obj5
= 0 ;
3594 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3599 arg1
= wxString_in_helper(obj0
);
3600 if (arg1
== NULL
) SWIG_fail
;
3605 arg2
= wxString_in_helper(obj1
);
3606 if (arg2
== NULL
) SWIG_fail
;
3611 arg3
= (int) SWIG_AsInt(obj2
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3619 arg5
= (int) SWIG_AsInt(obj4
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3623 arg6
= (int) SWIG_AsInt(obj5
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= SWIG_FromInt((int)result
);
3656 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxString
*arg1
= 0 ;
3659 wxString
*arg2
= 0 ;
3660 wxString
*arg3
= 0 ;
3662 long arg5
= (long) 0 ;
3663 long arg6
= (long) 100 ;
3664 wxWindow
*arg7
= (wxWindow
*) NULL
;
3665 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3666 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3668 bool temp1
= False
;
3669 bool temp2
= False
;
3670 bool temp3
= False
;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3674 PyObject
* obj2
= 0 ;
3675 PyObject
* obj3
= 0 ;
3676 PyObject
* obj4
= 0 ;
3677 PyObject
* obj5
= 0 ;
3678 PyObject
* obj6
= 0 ;
3679 PyObject
* obj7
= 0 ;
3681 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3686 arg1
= wxString_in_helper(obj0
);
3687 if (arg1
== NULL
) SWIG_fail
;
3691 arg2
= wxString_in_helper(obj1
);
3692 if (arg2
== NULL
) SWIG_fail
;
3696 arg3
= wxString_in_helper(obj2
);
3697 if (arg3
== NULL
) SWIG_fail
;
3700 arg4
= (long) SWIG_AsLong(obj3
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 arg5
= (long) SWIG_AsLong(obj4
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3707 arg6
= (long) SWIG_AsLong(obj5
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3717 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_FromLong((long)result
);
3758 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (bool)wxColourDisplay();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3782 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)wxDisplayDepth();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (int)wxGetDisplayDepth();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_FromInt((int)result
);
3826 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 int *arg1
= (int *) 0 ;
3829 int *arg2
= (int *) 0 ;
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 wxDisplaySize(arg1
,arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3849 resultobj
= t_output_helper(resultobj
,o
);
3852 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3853 resultobj
= t_output_helper(resultobj
,o
);
3861 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= wxGetDisplaySize();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3878 resultptr
= new wxSize((wxSize
&) result
);
3879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3887 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 int *arg1
= (int *) 0 ;
3890 int *arg2
= (int *) 0 ;
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 wxDisplaySizeMM(arg1
,arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3910 resultobj
= t_output_helper(resultobj
,o
);
3913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3914 resultobj
= t_output_helper(resultobj
,o
);
3922 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= wxGetDisplaySizeMM();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3939 resultptr
= new wxSize((wxSize
&) result
);
3940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3948 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
;
3950 int *arg1
= (int *) 0 ;
3951 int *arg2
= (int *) 0 ;
3952 int *arg3
= (int *) 0 ;
3953 int *arg4
= (int *) 0 ;
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3976 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3977 resultobj
= t_output_helper(resultobj
,o
);
3980 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3981 resultobj
= t_output_helper(resultobj
,o
);
3984 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3985 resultobj
= t_output_helper(resultobj
,o
);
3988 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3989 resultobj
= t_output_helper(resultobj
,o
);
3997 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= wxGetClientDisplayRect();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4014 resultptr
= new wxRect((wxRect
&) result
);
4015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4023 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxCursor
*arg1
= 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "cursor", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4036 PyErr_SetString(PyExc_TypeError
,"null reference");
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "cursor", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 wxBeginBusyCursor(arg1
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (wxWindow
*)wxGetActiveWindow();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= wxPyMake_wxObject(result
);
4104 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4109 PyObject
* obj0
= 0 ;
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4117 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= wxPyMake_wxObject(result
);
4135 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4140 PyObject
* obj0
= 0 ;
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4148 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= wxPyMake_wxObject(result
);
4166 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxWindow
*arg1
= (wxWindow
*) 0 ;
4170 PyObject
* obj0
= 0 ;
4172 (char *) "win", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= wxPyMake_wxObject(result
);
4194 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4198 PyObject
* obj0
= 0 ;
4200 (char *) "key", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4204 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4222 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 wxWakeUpMainThread();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4243 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4285 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxMutexGuiLocker
*result
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4307 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4310 PyObject
* obj0
= 0 ;
4312 (char *) "self", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4332 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4335 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4337 return Py_BuildValue((char *)"");
4339 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (bool)wxThread_IsMain();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4363 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxString
*arg1
= 0 ;
4367 bool temp1
= False
;
4368 PyObject
* obj0
= 0 ;
4370 (char *) "tip", NULL
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4375 arg1
= wxString_in_helper(obj0
);
4376 if (arg1
== NULL
) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= wxPyMake_wxObject(result
);
4403 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4406 wxString
*arg2
= 0 ;
4407 bool temp2
= False
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4411 (char *) "self",(char *) "tip", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4418 arg2
= wxString_in_helper(obj1
);
4419 if (arg2
== NULL
) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 (arg1
)->SetTip((wxString
const &)*arg2
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4450 (char *) "self", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (arg1
)->GetTip();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4476 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= (wxWindow
*)(arg1
)->GetWindow();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= wxPyMake_wxObject(result
);
4504 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "flag", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4513 arg1
= (bool) SWIG_AsBool(obj0
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 wxToolTip::Enable(arg1
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "milliseconds", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4538 arg1
= (long) SWIG_AsLong(obj0
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxToolTip::SetDelay(arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4557 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4559 return Py_BuildValue((char *)"");
4561 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxWindow
*arg1
= (wxWindow
*) 0 ;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4570 (char *) "window",(char *) "size", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4594 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxCaret
*arg1
= (wxCaret
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4619 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxCaret
*arg1
= (wxCaret
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (bool)(arg1
)->IsOk();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4647 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxCaret
*arg1
= (wxCaret
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "self", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (bool)(arg1
)->IsVisible();
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4675 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxCaret
*arg1
= (wxCaret
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4681 (char *) "self", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 result
= (arg1
)->GetPosition();
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 wxPoint
* resultptr
;
4696 resultptr
= new wxPoint((wxPoint
&) result
);
4697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4705 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxCaret
*arg1
= (wxCaret
*) 0 ;
4708 int *arg2
= (int *) 0 ;
4709 int *arg3
= (int *) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 (arg1
)->GetPosition(arg2
,arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4732 resultobj
= t_output_helper(resultobj
,o
);
4735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4736 resultobj
= t_output_helper(resultobj
,o
);
4744 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxCaret
*arg1
= (wxCaret
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (arg1
)->GetSize();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4765 resultptr
= new wxSize((wxSize
&) result
);
4766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4774 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxCaret
*arg1
= (wxCaret
*) 0 ;
4777 int *arg2
= (int *) 0 ;
4778 int *arg3
= (int *) 0 ;
4781 PyObject
* obj0
= 0 ;
4783 (char *) "self", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 (arg1
)->GetSize(arg2
,arg3
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4801 resultobj
= t_output_helper(resultobj
,o
);
4804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4805 resultobj
= t_output_helper(resultobj
,o
);
4813 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxCaret
*arg1
= (wxCaret
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4819 (char *) "self", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxWindow
*)(arg1
)->GetWindow();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= wxPyMake_wxObject(result
);
4841 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxCaret
*arg1
= (wxCaret
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 PyObject
* obj2
= 0 ;
4850 (char *) "self",(char *) "x",(char *) "y", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 arg2
= (int) SWIG_AsInt(obj1
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4858 arg3
= (int) SWIG_AsInt(obj2
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 (arg1
)->Move(arg2
,arg3
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 Py_INCREF(Py_None
); resultobj
= Py_None
;
4874 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxCaret
*arg1
= (wxCaret
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4882 (char *) "self",(char *) "pt", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 (arg1
)->Move((wxPoint
const &)*arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 Py_INCREF(Py_None
); resultobj
= Py_None
;
4906 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxCaret
*arg1
= (wxCaret
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4912 PyObject
* obj1
= 0 ;
4913 PyObject
* obj2
= 0 ;
4915 (char *) "self",(char *) "width",(char *) "height", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 arg2
= (int) SWIG_AsInt(obj1
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4923 arg3
= (int) SWIG_AsInt(obj2
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->SetSize(arg2
,arg3
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 Py_INCREF(Py_None
); resultobj
= Py_None
;
4939 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxCaret
*arg1
= (wxCaret
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "size", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4955 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->SetSize((wxSize
const &)*arg2
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxCaret
*arg1
= (wxCaret
*) 0 ;
4974 int arg2
= (int) True
;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "show", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4985 arg2
= (int) SWIG_AsInt(obj1
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 Py_INCREF(Py_None
); resultobj
= Py_None
;
5002 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxCaret
*arg1
= (wxCaret
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5030 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5032 return Py_BuildValue((char *)"");
5034 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (int)wxCaret_GetBlinkTime();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_FromInt((int)result
);
5056 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5059 PyObject
* obj0
= 0 ;
5061 (char *) "milliseconds", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5065 arg1
= (int) SWIG_AsInt(obj0
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 wxCaret_SetBlinkTime(arg1
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 Py_INCREF(Py_None
); resultobj
= Py_None
;
5081 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5084 wxBusyCursor
*result
;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "cursor", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5109 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 Py_INCREF(Py_None
); resultobj
= Py_None
;
5134 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5137 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5139 return Py_BuildValue((char *)"");
5141 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxWindow
*arg1
= (wxWindow
*) NULL
;
5144 wxWindowDisabler
*result
;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "winToSkip", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5169 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5174 (char *) "self", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 Py_INCREF(Py_None
); resultobj
= Py_None
;
5194 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5197 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5199 return Py_BuildValue((char *)"");
5201 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxString
*arg1
= 0 ;
5205 bool temp1
= False
;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "message", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5213 arg1
= wxString_in_helper(obj0
);
5214 if (arg1
== NULL
) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5239 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5242 PyObject
* obj0
= 0 ;
5244 (char *) "self", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 Py_INCREF(Py_None
); resultobj
= Py_None
;
5264 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5267 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5269 return Py_BuildValue((char *)"");
5271 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxStopWatch
*result
;
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (wxStopWatch
*)new wxStopWatch();
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5293 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5296 long arg2
= (long) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5300 (char *) "self",(char *) "t0", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 arg2
= (long) SWIG_AsLong(obj1
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->Start(arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5380 (char *) "self", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_FromLong((long)result
);
5400 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5403 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5405 return Py_BuildValue((char *)"");
5407 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 int arg1
= (int) 9 ;
5410 wxFileHistory
*result
;
5411 PyObject
* obj0
= 0 ;
5413 (char *) "maxFiles", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5418 arg1
= (int) SWIG_AsInt(obj0
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5435 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5463 wxString
*arg2
= 0 ;
5464 bool temp2
= False
;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5468 (char *) "self",(char *) "file", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 arg2
= wxString_in_helper(obj1
);
5476 if (arg2
== NULL
) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5501 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5508 (char *) "self",(char *) "i", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5514 arg2
= (int) SWIG_AsInt(obj1
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->RemoveFileFromHistory(arg2
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_FromInt((int)result
);
5556 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5559 wxMenu
*arg2
= (wxMenu
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5563 (char *) "self",(char *) "menu", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 (arg1
)->UseMenu(arg2
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 Py_INCREF(Py_None
); resultobj
= Py_None
;
5585 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5588 wxMenu
*arg2
= (wxMenu
*) 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5592 (char *) "self",(char *) "menu", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->RemoveMenu(arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5617 wxConfigBase
*arg2
= 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "config", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5631 PyErr_SetString(PyExc_TypeError
,"null reference");
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 (arg1
)->Load(*arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 Py_INCREF(Py_None
); resultobj
= Py_None
;
5648 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5651 wxConfigBase
*arg2
= 0 ;
5652 PyObject
* obj0
= 0 ;
5653 PyObject
* obj1
= 0 ;
5655 (char *) "self",(char *) "config", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5665 PyErr_SetString(PyExc_TypeError
,"null reference");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->Save(*arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5687 (char *) "self", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->AddFilesToMenu();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5710 wxMenu
*arg2
= (wxMenu
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5714 (char *) "self",(char *) "menu", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 (arg1
)->AddFilesToMenu(arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5744 (char *) "self",(char *) "i", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 arg2
= (int) SWIG_AsInt(obj1
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5772 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_FromInt((int)result
);
5798 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5801 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5803 return Py_BuildValue((char *)"");
5805 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxString
*arg1
= 0 ;
5808 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5809 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5810 wxSingleInstanceChecker
*result
;
5811 bool temp1
= False
;
5812 bool temp2
= False
;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5816 (char *) "name",(char *) "path", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 arg1
= wxString_in_helper(obj0
);
5822 if (arg1
== NULL
) SWIG_fail
;
5827 arg2
= wxString_in_helper(obj1
);
5828 if (arg2
== NULL
) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5862 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxSingleInstanceChecker
*result
;
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5884 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 Py_INCREF(Py_None
); resultobj
= Py_None
;
5909 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5912 wxString
*arg2
= 0 ;
5913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5916 bool temp2
= False
;
5917 bool temp3
= False
;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 PyObject
* obj2
= 0 ;
5922 (char *) "self",(char *) "name",(char *) "path", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 arg2
= wxString_in_helper(obj1
);
5930 if (arg2
== NULL
) SWIG_fail
;
5935 arg3
= wxString_in_helper(obj2
);
5936 if (arg3
== NULL
) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5978 (char *) "self", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6003 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6005 return Py_BuildValue((char *)"");
6007 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxWindow
*arg1
= (wxWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 PyObject
* obj2
= 0 ;
6016 (char *) "window",(char *) "dc",(char *) "method", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6026 PyErr_SetString(PyExc_TypeError
,"null reference");
6029 arg3
= (int) SWIG_AsInt(obj2
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 Py_INCREF(Py_None
); resultobj
= Py_None
;
6045 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 Py_INCREF(Py_None
); resultobj
= Py_None
;
6070 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "self", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (arg1
)->GetTip();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6102 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (size_t)(arg1
)->GetCurrentTip();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6128 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6131 wxString
*arg2
= 0 ;
6133 bool temp2
= False
;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6137 (char *) "self",(char *) "tip", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 arg2
= wxString_in_helper(obj1
);
6145 if (arg2
== NULL
) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6176 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6179 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6181 return Py_BuildValue((char *)"");
6183 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6186 wxPyTipProvider
*result
;
6187 PyObject
* obj0
= 0 ;
6189 (char *) "currentTip", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6193 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6209 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
;
6211 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6212 PyObject
*arg2
= (PyObject
*) 0 ;
6213 PyObject
*arg3
= (PyObject
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6215 PyObject
* obj1
= 0 ;
6216 PyObject
* obj2
= 0 ;
6218 (char *) "self",(char *) "self",(char *) "_class", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 Py_INCREF(Py_None
); resultobj
= Py_None
;
6240 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6243 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6245 return Py_BuildValue((char *)"");
6247 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6249 wxWindow
*arg1
= (wxWindow
*) 0 ;
6250 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6251 bool arg3
= (bool) True
;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6255 PyObject
* obj2
= 0 ;
6257 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 arg3
= (bool) SWIG_AsBool(obj2
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6285 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxString
*arg1
= 0 ;
6289 wxTipProvider
*result
;
6290 bool temp1
= False
;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6294 (char *) "filename",(char *) "currentTip", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6299 arg1
= wxString_in_helper(obj0
);
6300 if (arg1
== NULL
) SWIG_fail
;
6303 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6327 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6330 int arg2
= (int) -1 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6335 (char *) "owner",(char *) "id", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 arg2
= (int) SWIG_AsInt(obj1
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6361 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6366 (char *) "self", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6389 PyObject
*arg2
= (PyObject
*) 0 ;
6390 PyObject
*arg3
= (PyObject
*) 0 ;
6391 int arg4
= (int) 1 ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 PyObject
* obj2
= 0 ;
6395 PyObject
* obj3
= 0 ;
6397 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg4
= (int) SWIG_AsInt(obj3
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6423 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6426 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6427 int arg3
= (int) -1 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 PyObject
* obj2
= 0 ;
6432 (char *) "self",(char *) "owner",(char *) "id", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 arg3
= (int) SWIG_AsInt(obj2
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 (arg1
)->SetOwner(arg2
,arg3
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6461 wxEvtHandler
*result
;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= wxPyMake_wxObject(result
);
6486 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6489 int arg2
= (int) -1 ;
6490 bool arg3
= (bool) False
;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6496 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 arg2
= (int) SWIG_AsInt(obj1
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 arg3
= (bool) SWIG_AsBool(obj2
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6526 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 Py_INCREF(Py_None
); resultobj
= Py_None
;
6551 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_FromInt((int)result
);
6605 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6633 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_FromInt((int)result
);
6659 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6662 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6664 return Py_BuildValue((char *)"");
6666 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 int arg1
= (int) 0 ;
6669 int arg2
= (int) 0 ;
6670 wxTimerEvent
*result
;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "timerid",(char *) "interval", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6679 arg1
= (int) SWIG_AsInt(obj0
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 arg2
= (int) SWIG_AsInt(obj1
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6700 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_FromInt((int)result
);
6726 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6729 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6731 return Py_BuildValue((char *)"");
6733 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6734 PyObject
*resultobj
;
6736 wxTimerRunner
*result
;
6737 PyObject
* obj0
= 0 ;
6739 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6744 PyErr_SetString(PyExc_TypeError
,"null reference");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6761 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6762 PyObject
*resultobj
;
6765 bool arg3
= (bool) False
;
6766 wxTimerRunner
*result
;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 PyObject
* obj2
= 0 ;
6771 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6776 PyErr_SetString(PyExc_TypeError
,"null reference");
6779 arg2
= (int) SWIG_AsInt(obj1
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 arg3
= (bool) SWIG_AsBool(obj2
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6799 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6804 argc
= PyObject_Length(args
);
6805 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6806 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6812 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6820 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6823 if ((argc
>= 2) && (argc
<= 3)) {
6827 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6835 _v
= SWIG_CheckInt(argv
[1]);
6838 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6840 _v
= SWIG_CheckBool(argv
[2]);
6842 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6848 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6853 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6858 (char *) "self", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6882 bool arg3
= (bool) False
;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 PyObject
* obj2
= 0 ;
6887 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 arg2
= (int) SWIG_AsInt(obj1
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 arg3
= (bool) SWIG_AsBool(obj2
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 (arg1
)->Start(arg2
,arg3
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 Py_INCREF(Py_None
); resultobj
= Py_None
;
6913 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6916 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6918 return Py_BuildValue((char *)"");
6920 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxLog
*)new wxLog();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6942 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (bool)wxLog::IsEnabled();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6966 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 bool arg1
= (bool) True
;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "doIt", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6977 arg1
= (bool) SWIG_AsBool(obj0
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (bool)wxLog::EnableLogging(arg1
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6996 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6999 wxChar
*arg2
= (wxChar
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7005 (char *) "level",(char *) "szString",(char *) "t", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7009 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxLog
*arg1
= (wxLog
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7054 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 wxLog::FlushActive();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 Py_INCREF(Py_None
); resultobj
= Py_None
;
7075 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (wxLog
*)wxLog::GetActiveTarget();
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7097 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxLog
*arg1
= (wxLog
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "pLogger", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7123 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 Py_INCREF(Py_None
); resultobj
= Py_None
;
7165 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 bool arg1
= (bool) True
;
7168 PyObject
* obj0
= 0 ;
7170 (char *) "bVerbose", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7175 arg1
= (bool) SWIG_AsBool(obj0
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 wxLog::SetVerbose(arg1
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 Py_INCREF(Py_None
); resultobj
= Py_None
;
7192 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "logLevel", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7201 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 wxLog::SetLogLevel(arg1
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 Py_INCREF(Py_None
); resultobj
= Py_None
;
7217 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 wxLog::DontCreateOnDemand();
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 Py_INCREF(Py_None
); resultobj
= Py_None
;
7238 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "ulMask", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7247 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxLog::SetTraceMask(arg1
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxString
*arg1
= 0 ;
7266 bool temp1
= False
;
7267 PyObject
* obj0
= 0 ;
7269 (char *) "str", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7274 arg1
= wxString_in_helper(obj0
);
7275 if (arg1
== NULL
) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 wxLog::AddTraceMask((wxString
const &)*arg1
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7300 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
*resultobj
;
7302 wxString
*arg1
= 0 ;
7303 bool temp1
= False
;
7304 PyObject
* obj0
= 0 ;
7306 (char *) "str", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7311 arg1
= wxString_in_helper(obj0
);
7312 if (arg1
== NULL
) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxLog::ClearTraceMasks();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxArrayString
*result
;
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7370 result
= (wxArrayString
*) &_result_ref
;
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= wxArrayString2PyList_helper(*result
);
7385 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxChar
*arg1
= (wxChar
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 wxLog::SetTimestamp((wxChar
const *)arg1
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7410 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)wxLog::GetVerbose();
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7434 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (wxTraceMask
)wxLog::GetTraceMask();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7456 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxChar
*arg1
= (wxChar
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "mask", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (wxLogLevel
)wxLog::GetLogLevel();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7506 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (wxChar
*)wxLog::GetTimestamp();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7528 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= Log_TimeStamp();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7556 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxLog
*arg1
= (wxLog
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 wxLog_Destroy(arg1
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7584 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7586 return Py_BuildValue((char *)"");
7588 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxLogStderr
*result
;
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (wxLogStderr
*)new wxLogStderr();
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7610 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7613 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7615 return Py_BuildValue((char *)"");
7617 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7620 wxLogTextCtrl
*result
;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "pTextCtrl", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7643 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7646 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7648 return Py_BuildValue((char *)"");
7650 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (wxLogGui
*)new wxLogGui();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7672 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7675 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7677 return Py_BuildValue((char *)"");
7679 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxFrame
*arg1
= (wxFrame
*) 0 ;
7682 wxString
*arg2
= 0 ;
7683 bool arg3
= (bool) True
;
7684 bool arg4
= (bool) True
;
7685 wxLogWindow
*result
;
7686 bool temp2
= False
;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7689 PyObject
* obj2
= 0 ;
7690 PyObject
* obj3
= 0 ;
7692 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 arg2
= wxString_in_helper(obj1
);
7700 if (arg2
== NULL
) SWIG_fail
;
7704 arg3
= (bool) SWIG_AsBool(obj2
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7708 arg4
= (bool) SWIG_AsBool(obj3
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7733 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7736 bool arg2
= (bool) True
;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7740 (char *) "self",(char *) "bShow", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7747 arg2
= (bool) SWIG_AsBool(obj1
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "self", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= wxPyMake_wxObject(result
);
7792 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7798 (char *) "self", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7818 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7824 (char *) "self", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7846 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "bDoPass", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7859 arg2
= (bool) SWIG_AsBool(obj1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->PassMessages(arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7878 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7880 return Py_BuildValue((char *)"");
7882 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxLog
*arg1
= (wxLog
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "logger", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxLogChain
*)new wxLogChain(arg1
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7908 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7911 wxLog
*arg2
= (wxLog
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7915 (char *) "self",(char *) "logger", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->SetLog(arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7944 (char *) "self",(char *) "bDoPass", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 arg2
= (bool) SWIG_AsBool(obj1
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 (arg1
)->PassMessages(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7972 (char *) "self", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (bool)(arg1
)->IsPassingMessages();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7994 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (wxLog
*)(arg1
)->GetOldLog();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8020 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8023 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8025 return Py_BuildValue((char *)"");
8027 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 unsigned long result
;
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (unsigned long)wxSysErrorCode();
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8049 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 unsigned long arg1
= (unsigned long) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "nErrCode", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8060 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= wxSysErrorMsg(arg1
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8083 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxString
*arg1
= 0 ;
8086 bool temp1
= False
;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "msg", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8094 arg1
= wxString_in_helper(obj0
);
8095 if (arg1
== NULL
) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 wxLogFatalError((wxString
const &)*arg1
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8120 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxString
*arg1
= 0 ;
8123 bool temp1
= False
;
8124 PyObject
* obj0
= 0 ;
8126 (char *) "msg", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8131 arg1
= wxString_in_helper(obj0
);
8132 if (arg1
== NULL
) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 wxLogError((wxString
const &)*arg1
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxString
*arg1
= 0 ;
8160 bool temp1
= False
;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "msg", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8168 arg1
= wxString_in_helper(obj0
);
8169 if (arg1
== NULL
) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 wxLogWarning((wxString
const &)*arg1
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8194 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxString
*arg1
= 0 ;
8197 bool temp1
= False
;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "msg", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8205 arg1
= wxString_in_helper(obj0
);
8206 if (arg1
== NULL
) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 wxLogMessage((wxString
const &)*arg1
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 Py_INCREF(Py_None
); resultobj
= Py_None
;
8231 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxString
*arg1
= 0 ;
8234 bool temp1
= False
;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "msg", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8242 arg1
= wxString_in_helper(obj0
);
8243 if (arg1
== NULL
) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 wxLogInfo((wxString
const &)*arg1
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxString
*arg1
= 0 ;
8271 bool temp1
= False
;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "msg", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8279 arg1
= wxString_in_helper(obj0
);
8280 if (arg1
== NULL
) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 wxLogDebug((wxString
const &)*arg1
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 Py_INCREF(Py_None
); resultobj
= Py_None
;
8305 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxString
*arg1
= 0 ;
8308 bool temp1
= False
;
8309 PyObject
* obj0
= 0 ;
8311 (char *) "msg", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8316 arg1
= wxString_in_helper(obj0
);
8317 if (arg1
== NULL
) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 wxLogVerbose((wxString
const &)*arg1
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 Py_INCREF(Py_None
); resultobj
= Py_None
;
8342 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxString
*arg1
= 0 ;
8345 bool temp1
= False
;
8346 PyObject
* obj0
= 0 ;
8348 (char *) "msg", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8353 arg1
= wxString_in_helper(obj0
);
8354 if (arg1
== NULL
) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 wxLogStatus((wxString
const &)*arg1
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 Py_INCREF(Py_None
); resultobj
= Py_None
;
8379 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxFrame
*arg1
= (wxFrame
*) 0 ;
8382 wxString
*arg2
= 0 ;
8383 bool temp2
= False
;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8387 (char *) "pFrame",(char *) "msg", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8394 arg2
= wxString_in_helper(obj1
);
8395 if (arg2
== NULL
) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 Py_INCREF(Py_None
); resultobj
= Py_None
;
8420 static PyObject
*_wrap_LogSysError(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:LogSysError",kwnames
,&obj0
)) goto fail
;
8431 arg1
= wxString_in_helper(obj0
);
8432 if (arg1
== NULL
) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 wxLogSysError((wxString
const &)*arg1
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8458 PyObject
*resultobj
;
8459 unsigned long arg1
;
8460 wxString
*arg2
= 0 ;
8461 bool temp2
= False
;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8465 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8466 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 arg2
= wxString_in_helper(obj1
);
8470 if (arg2
== NULL
) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8495 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8496 PyObject
*resultobj
;
8497 wxString
*arg1
= 0 ;
8498 wxString
*arg2
= 0 ;
8499 bool temp1
= False
;
8500 bool temp2
= False
;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8504 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8506 arg1
= wxString_in_helper(obj0
);
8507 if (arg1
== NULL
) SWIG_fail
;
8511 arg2
= wxString_in_helper(obj1
);
8512 if (arg2
== NULL
) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8550 argc
= PyObject_Length(args
);
8551 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8552 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8557 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8561 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8564 return _wrap_LogTrace__SWIG_1(self
,args
);
8570 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8573 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8576 return _wrap_LogTrace__SWIG_0(self
,args
);
8581 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8586 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 unsigned long arg1
;
8589 wxString
*arg2
= 0 ;
8590 bool temp2
= False
;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8594 (char *) "level",(char *) "msg", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8598 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 arg2
= wxString_in_helper(obj1
);
8602 if (arg2
== NULL
) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxString
*arg1
= 0 ;
8630 wxString
*arg2
= 0 ;
8631 bool temp1
= False
;
8632 bool temp2
= False
;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8636 (char *) "title",(char *) "text", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 arg1
= wxString_in_helper(obj0
);
8642 if (arg1
== NULL
) SWIG_fail
;
8646 arg2
= wxString_in_helper(obj1
);
8647 if (arg2
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 Py_INCREF(Py_None
); resultobj
= Py_None
;
8680 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (wxLogNull
*)new wxLogNull();
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8702 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8707 (char *) "self", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8730 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8732 return Py_BuildValue((char *)"");
8734 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (wxPyLog
*)new wxPyLog();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8756 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8759 PyObject
*arg2
= (PyObject
*) 0 ;
8760 PyObject
*arg3
= (PyObject
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 PyObject
* obj2
= 0 ;
8765 (char *) "self",(char *) "self",(char *) "_class", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8790 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8792 return Py_BuildValue((char *)"");
8794 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8797 int arg2
= (int) wxSIGTERM
;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8802 (char *) "pid",(char *) "sig", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8806 arg1
= (int) SWIG_AsInt(obj0
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_FromInt((int)result
);
8826 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "pid", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8836 arg1
= (int) SWIG_AsInt(obj0
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (bool)wxPyProcess::Exists(arg1
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8854 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxString
*arg1
= 0 ;
8857 int arg2
= (int) wxEXEC_ASYNC
;
8858 wxPyProcess
*result
;
8859 bool temp1
= False
;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8863 (char *) "cmd",(char *) "flags", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8868 arg1
= wxString_in_helper(obj0
);
8869 if (arg1
== NULL
) SWIG_fail
;
8873 arg2
= (int) SWIG_AsInt(obj1
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8898 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8901 int arg2
= (int) -1 ;
8902 wxPyProcess
*result
;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8906 (char *) "parent",(char *) "id", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8915 arg2
= (int) SWIG_AsInt(obj1
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8932 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8935 PyObject
*arg2
= (PyObject
*) 0 ;
8936 PyObject
*arg3
= (PyObject
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 PyObject
* obj2
= 0 ;
8941 (char *) "self",(char *) "self",(char *) "_class", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 Py_INCREF(Py_None
); resultobj
= Py_None
;
8963 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8970 PyObject
* obj2
= 0 ;
8972 (char *) "self",(char *) "pid",(char *) "status", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8978 arg2
= (int) SWIG_AsInt(obj1
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8980 arg3
= (int) SWIG_AsInt(obj2
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 (arg1
)->base_OnTerminate(arg2
,arg3
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 Py_INCREF(Py_None
); resultobj
= Py_None
;
9021 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)(arg1
)->IsRedirected();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9074 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9077 wxInputStream
*result
;
9078 PyObject
* obj0
= 0 ;
9080 (char *) "self", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 wxPyInputStream
* _ptr
= NULL
;
9097 _ptr
= new wxPyInputStream(result
);
9099 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9107 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9110 wxInputStream
*result
;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "self", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9127 wxPyInputStream
* _ptr
= NULL
;
9130 _ptr
= new wxPyInputStream(result
);
9132 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9140 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9143 wxOutputStream
*result
;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "self", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9166 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 (arg1
)->CloseOutput();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 Py_INCREF(Py_None
); resultobj
= Py_None
;
9191 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9219 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9225 (char *) "self", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9253 (char *) "self", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9275 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9278 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9280 return Py_BuildValue((char *)"");
9282 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 int arg1
= (int) 0 ;
9285 int arg2
= (int) 0 ;
9286 int arg3
= (int) 0 ;
9287 wxProcessEvent
*result
;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 PyObject
* obj2
= 0 ;
9292 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9297 arg1
= (int) SWIG_AsInt(obj0
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 arg2
= (int) SWIG_AsInt(obj1
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 arg3
= (int) SWIG_AsInt(obj2
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9322 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (int)(arg1
)->GetPid();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_FromInt((int)result
);
9348 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9354 (char *) "self", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (int)(arg1
)->GetExitCode();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_FromInt((int)result
);
9374 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9381 (char *) "self",(char *) "m_pid", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= (int) SWIG_AsInt(obj1
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9389 if (arg1
) (arg1
)->m_pid
= arg2
;
9391 Py_INCREF(Py_None
); resultobj
= Py_None
;
9398 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9404 (char *) "self", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9410 result
= (int) ((arg1
)->m_pid
);
9412 resultobj
= SWIG_FromInt((int)result
);
9419 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9426 (char *) "self",(char *) "m_exitcode", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9432 arg2
= (int) SWIG_AsInt(obj1
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9434 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 result
= (int) ((arg1
)->m_exitcode
);
9457 resultobj
= SWIG_FromInt((int)result
);
9464 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9467 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9469 return Py_BuildValue((char *)"");
9471 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxString
*arg1
= 0 ;
9474 int arg2
= (int) wxEXEC_ASYNC
;
9475 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9477 bool temp1
= False
;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9480 PyObject
* obj2
= 0 ;
9482 (char *) "command",(char *) "flags",(char *) "process", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9487 arg1
= wxString_in_helper(obj0
);
9488 if (arg1
== NULL
) SWIG_fail
;
9492 arg2
= (int) SWIG_AsInt(obj1
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_FromLong((long)result
);
9521 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 int arg1
= (int) wxJOYSTICK1
;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "joystick", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9532 arg1
= (int) SWIG_AsInt(obj0
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (wxJoystick
*)new wxJoystick(arg1
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9549 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (arg1
)->GetPosition();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9594 wxPoint
* resultptr
;
9595 resultptr
= new wxPoint((wxPoint
&) result
);
9596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9604 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)(arg1
)->GetZPosition();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_FromInt((int)result
);
9630 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9636 (char *) "self", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (int)(arg1
)->GetButtonState();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_FromInt((int)result
);
9656 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (int)(arg1
)->GetPOVPosition();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_FromInt((int)result
);
9682 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(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_GetPOVCTSPosition",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
)->GetPOVCTSPosition();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_FromInt((int)result
);
9708 static PyObject
*_wrap_Joystick_GetRudderPosition(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_GetRudderPosition",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
)->GetRudderPosition();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_FromInt((int)result
);
9734 static PyObject
*_wrap_Joystick_GetUPosition(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_GetUPosition",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
)->GetUPosition();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_FromInt((int)result
);
9760 static PyObject
*_wrap_Joystick_GetVPosition(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_GetVPosition",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
)->GetVPosition();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_FromInt((int)result
);
9786 static PyObject
*_wrap_Joystick_GetMovementThreshold(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_GetMovementThreshold",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
)->GetMovementThreshold();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_FromInt((int)result
);
9812 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9816 PyObject
* obj0
= 0 ;
9817 PyObject
* obj1
= 0 ;
9819 (char *) "self",(char *) "threshold", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9825 arg2
= (int) SWIG_AsInt(obj1
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->SetMovementThreshold(arg2
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9847 (char *) "self", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->IsOk();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9869 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (int)(arg1
)->GetNumberJoysticks();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_FromInt((int)result
);
9895 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (int)(arg1
)->GetManufacturerId();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_FromInt((int)result
);
9921 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (int)(arg1
)->GetProductId();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_FromInt((int)result
);
9947 static PyObject
*_wrap_Joystick_GetProductName(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_GetProductName",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
= (arg1
)->GetProductName();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9979 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (int)(arg1
)->GetXMin();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_FromInt((int)result
);
10005 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (int)(arg1
)->GetYMin();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_FromInt((int)result
);
10031 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (int)(arg1
)->GetZMin();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_FromInt((int)result
);
10057 static PyObject
*_wrap_Joystick_GetXMax(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_GetXMax",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
)->GetXMax();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_FromInt((int)result
);
10083 static PyObject
*_wrap_Joystick_GetYMax(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_GetYMax",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
)->GetYMax();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_FromInt((int)result
);
10109 static PyObject
*_wrap_Joystick_GetZMax(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_GetZMax",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
)->GetZMax();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_FromInt((int)result
);
10135 static PyObject
*_wrap_Joystick_GetNumberButtons(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_GetNumberButtons",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
)->GetNumberButtons();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_FromInt((int)result
);
10161 static PyObject
*_wrap_Joystick_GetNumberAxes(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_GetNumberAxes",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
)->GetNumberAxes();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_FromInt((int)result
);
10187 static PyObject
*_wrap_Joystick_GetMaxButtons(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_GetMaxButtons",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
)->GetMaxButtons();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_FromInt((int)result
);
10213 static PyObject
*_wrap_Joystick_GetMaxAxes(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_GetMaxAxes",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
)->GetMaxAxes();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= SWIG_FromInt((int)result
);
10239 static PyObject
*_wrap_Joystick_GetPollingMin(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_GetPollingMin",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
)->GetPollingMin();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_FromInt((int)result
);
10265 static PyObject
*_wrap_Joystick_GetPollingMax(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_GetPollingMax",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
)->GetPollingMax();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_FromInt((int)result
);
10291 static PyObject
*_wrap_Joystick_GetRudderMin(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_GetRudderMin",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
)->GetRudderMin();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_FromInt((int)result
);
10317 static PyObject
*_wrap_Joystick_GetRudderMax(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_GetRudderMax",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
)->GetRudderMax();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_FromInt((int)result
);
10343 static PyObject
*_wrap_Joystick_GetUMin(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_GetUMin",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
)->GetUMin();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_FromInt((int)result
);
10369 static PyObject
*_wrap_Joystick_GetUMax(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_GetUMax",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
)->GetUMax();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_FromInt((int)result
);
10395 static PyObject
*_wrap_Joystick_GetVMin(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_GetVMin",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
)->GetVMin();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_FromInt((int)result
);
10421 static PyObject
*_wrap_Joystick_GetVMax(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_GetVMax",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
)->GetVMax();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_FromInt((int)result
);
10447 static PyObject
*_wrap_Joystick_HasRudder(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_HasRudder",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
= (bool)(arg1
)->HasRudder();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10475 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10479 PyObject
* obj0
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (bool)(arg1
)->HasZ();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10503 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (bool)(arg1
)->HasU();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10531 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (bool)(arg1
)->HasV();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10559 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10563 PyObject
* obj0
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (bool)(arg1
)->HasPOV();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10587 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->HasPOV4Dir();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (bool)(arg1
)->HasPOVCTS();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10643 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10646 wxWindow
*arg2
= (wxWindow
*) 0 ;
10647 int arg3
= (int) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 PyObject
* obj2
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10662 arg3
= (int) SWIG_AsInt(obj2
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (bool)(arg1
)->ReleaseCapture();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10709 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10712 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10714 return Py_BuildValue((char *)"");
10716 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10719 wxPoint
*arg2
= (wxPoint
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self",(char *) "m_pos", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 if (arg1
) (arg1
)->m_pos
= *arg2
;
10733 Py_INCREF(Py_None
); resultobj
= Py_None
;
10740 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10761 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "m_zPosition", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (int) SWIG_AsInt(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10778 Py_INCREF(Py_None
); resultobj
= Py_None
;
10785 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 result
= (int) ((arg1
)->m_zPosition
);
10799 resultobj
= SWIG_FromInt((int)result
);
10806 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self",(char *) "m_buttonChange", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10819 arg2
= (int) SWIG_AsInt(obj1
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10821 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 result
= (int) ((arg1
)->m_buttonChange
);
10844 resultobj
= SWIG_FromInt((int)result
);
10851 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "m_buttonState", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 arg2
= (int) SWIG_AsInt(obj1
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10866 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 result
= (int) ((arg1
)->m_buttonState
);
10889 resultobj
= SWIG_FromInt((int)result
);
10896 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "m_joyStick", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 arg2
= (int) SWIG_AsInt(obj1
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10911 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10913 Py_INCREF(Py_None
); resultobj
= Py_None
;
10920 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10932 result
= (int) ((arg1
)->m_joyStick
);
10934 resultobj
= SWIG_FromInt((int)result
);
10941 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10944 int arg2
= (int) 0 ;
10945 int arg3
= (int) wxJOYSTICK1
;
10946 int arg4
= (int) 0 ;
10947 wxJoystickEvent
*result
;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 PyObject
* obj2
= 0 ;
10951 PyObject
* obj3
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10958 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 arg2
= (int) SWIG_AsInt(obj1
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 arg3
= (int) SWIG_AsInt(obj2
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 arg4
= (int) SWIG_AsInt(obj3
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10987 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 wxPoint
* resultptr
;
11008 resultptr
= new wxPoint((wxPoint
&) result
);
11009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11017 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_FromInt((int)result
);
11043 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= SWIG_FromInt((int)result
);
11069 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= SWIG_FromInt((int)result
);
11095 static PyObject
*_wrap_JoystickEvent_GetJoystick(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_GetJoystick",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
)->GetJoystick();
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_FromInt((int)result
);
11121 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "stick", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11134 arg2
= (int) SWIG_AsInt(obj1
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 (arg1
)->SetJoystick(arg2
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 Py_INCREF(Py_None
); resultobj
= Py_None
;
11150 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "state", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11163 arg2
= (int) SWIG_AsInt(obj1
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 (arg1
)->SetButtonState(arg2
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 Py_INCREF(Py_None
); resultobj
= Py_None
;
11179 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "change", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11192 arg2
= (int) SWIG_AsInt(obj1
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 (arg1
)->SetButtonChange(arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 Py_INCREF(Py_None
); resultobj
= Py_None
;
11208 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11211 wxPoint
*arg2
= 0 ;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "pos", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "zPos", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11253 arg2
= (int) SWIG_AsInt(obj1
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->SetZPosition(arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11353 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11356 int arg2
= (int) wxJOY_BUTTON_ANY
;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "but", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11368 arg2
= (int) SWIG_AsInt(obj1
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11387 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11390 int arg2
= (int) wxJOY_BUTTON_ANY
;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "but", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11402 arg2
= (int) SWIG_AsInt(obj1
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11421 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11424 int arg2
= (int) wxJOY_BUTTON_ANY
;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self",(char *) "but", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= (int) SWIG_AsInt(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11455 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11460 return Py_BuildValue((char *)"");
11462 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11465 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11467 bool temp1
= False
;
11468 PyObject
* obj0
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "fileName", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11476 arg1
= wxString_in_helper(obj0
);
11477 if (arg1
== NULL
) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11503 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 PyObject
*arg1
= (PyObject
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "data", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxSound
*)new_wxSound(arg1
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11528 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxSound
*arg1
= (wxSound
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 Py_INCREF(Py_None
); resultobj
= Py_None
;
11553 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxSound
*arg1
= (wxSound
*) 0 ;
11556 wxString
*arg2
= 0 ;
11558 bool temp2
= False
;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self",(char *) "fileName", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 arg2
= wxString_in_helper(obj1
);
11570 if (arg2
== NULL
) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxSound
*arg1
= (wxSound
*) 0 ;
11600 PyObject
*arg2
= (PyObject
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "data", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11628 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxSound
*arg1
= (wxSound
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)(arg1
)->IsOk();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11656 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxSound
*arg1
= (wxSound
*) 0 ;
11659 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "flags", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11671 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11690 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxString
*arg1
= 0 ;
11693 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11695 bool temp1
= False
;
11696 PyObject
* obj0
= 0 ;
11697 PyObject
* obj1
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "filename",(char *) "flags", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11704 arg1
= wxString_in_helper(obj0
);
11705 if (arg1
== NULL
) SWIG_fail
;
11709 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11736 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 char *kwnames
[] = {
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11760 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11762 return Py_BuildValue((char *)"");
11764 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxString
*arg1
= 0 ;
11767 wxString
*arg2
= 0 ;
11768 wxString
*arg3
= 0 ;
11769 wxString
*arg4
= 0 ;
11770 wxFileTypeInfo
*result
;
11771 bool temp1
= False
;
11772 bool temp2
= False
;
11773 bool temp3
= False
;
11774 bool temp4
= False
;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 PyObject
* obj2
= 0 ;
11778 PyObject
* obj3
= 0 ;
11779 char *kwnames
[] = {
11780 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11785 arg1
= wxString_in_helper(obj0
);
11786 if (arg1
== NULL
) SWIG_fail
;
11790 arg2
= wxString_in_helper(obj1
);
11791 if (arg2
== NULL
) SWIG_fail
;
11795 arg3
= wxString_in_helper(obj2
);
11796 if (arg3
== NULL
) SWIG_fail
;
11800 arg4
= wxString_in_helper(obj3
);
11801 if (arg4
== NULL
) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11850 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxArrayString
*arg1
= 0 ;
11853 wxFileTypeInfo
*result
;
11854 bool temp1
= False
;
11855 PyObject
* obj0
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "sArray", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11862 if (! PySequence_Check(obj0
)) {
11863 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11866 arg1
= new wxArrayString
;
11868 int i
, len
=PySequence_Length(obj0
);
11869 for (i
=0; i
<len
; i
++) {
11870 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11872 PyObject
* str
= PyObject_Unicode(item
);
11874 PyObject
* str
= PyObject_Str(item
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11877 arg1
->Add(Py2wxString(str
));
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11891 if (temp1
) delete arg1
;
11896 if (temp1
) delete arg1
;
11902 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxFileTypeInfo
*result
;
11905 char *kwnames
[] = {
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11924 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11952 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11955 wxString
*arg2
= 0 ;
11956 int arg3
= (int) 0 ;
11957 bool temp2
= False
;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 PyObject
* obj2
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 arg2
= wxString_in_helper(obj1
);
11970 if (arg2
== NULL
) SWIG_fail
;
11974 arg3
= (int) SWIG_AsInt(obj2
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 Py_INCREF(Py_None
); resultobj
= Py_None
;
11999 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12002 wxString
*arg2
= 0 ;
12003 bool temp2
= False
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "shortDesc", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 arg2
= wxString_in_helper(obj1
);
12015 if (arg2
== NULL
) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12056 result
= (wxString
*) &_result_ref
;
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12075 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12091 result
= (wxString
*) &_result_ref
;
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12101 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12110 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12126 result
= (wxString
*) &_result_ref
;
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12145 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12161 result
= (wxString
*) &_result_ref
;
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12180 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12196 result
= (wxString
*) &_result_ref
;
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12215 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12218 wxArrayString
*result
;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12231 result
= (wxArrayString
*) &_result_ref
;
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= wxArrayString2PyList_helper(*result
);
12246 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_FromInt((int)result
);
12272 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12288 result
= (wxString
*) &_result_ref
;
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12307 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_FromInt((int)result
);
12333 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12336 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12338 return Py_BuildValue((char *)"");
12340 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxFileTypeInfo
*arg1
= 0 ;
12343 wxFileType
*result
;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "ftInfo", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12353 if (arg1
== NULL
) {
12354 PyErr_SetString(PyExc_TypeError
,"null reference");
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12371 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxFileType
*arg1
= (wxFileType
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxFileType
*arg1
= (wxFileType
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= result
;
12422 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxFileType
*arg1
= (wxFileType
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= result
;
12448 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileType
*arg1
= (wxFileType
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",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();
12462 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= result
;
12474 static PyObject
*_wrap_FileType_GetIcon(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_GetIcon",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
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12500 static PyObject
*_wrap_FileType_GetIconInfo(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_GetIconInfo",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_GetIconInfo(arg1
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= result
;
12526 static PyObject
*_wrap_FileType_GetDescription(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_GetDescription",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_GetDescription(arg1
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= result
;
12552 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxFileType
*arg1
= (wxFileType
*) 0 ;
12555 wxString
*arg2
= 0 ;
12556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12559 bool temp2
= False
;
12560 bool temp3
= False
;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 PyObject
* obj2
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 arg2
= wxString_in_helper(obj1
);
12573 if (arg2
== NULL
) SWIG_fail
;
12578 arg3
= wxString_in_helper(obj2
);
12579 if (arg3
== NULL
) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
;
12613 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxFileType
*arg1
= (wxFileType
*) 0 ;
12616 wxString
*arg2
= 0 ;
12617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12620 bool temp2
= False
;
12621 bool temp3
= False
;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 PyObject
* obj2
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 arg2
= wxString_in_helper(obj1
);
12634 if (arg2
== NULL
) SWIG_fail
;
12639 arg3
= wxString_in_helper(obj2
);
12640 if (arg3
== NULL
) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= result
;
12674 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxFileType
*arg1
= (wxFileType
*) 0 ;
12677 wxString
*arg2
= 0 ;
12678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12681 bool temp2
= False
;
12682 bool temp3
= False
;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 PyObject
* obj2
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 arg2
= wxString_in_helper(obj1
);
12695 if (arg2
== NULL
) SWIG_fail
;
12700 arg3
= wxString_in_helper(obj2
);
12701 if (arg3
== NULL
) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
;
12735 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxFileType
*arg1
= (wxFileType
*) 0 ;
12738 wxString
*arg2
= 0 ;
12739 wxString
*arg3
= 0 ;
12740 bool arg4
= (bool) True
;
12742 bool temp2
= False
;
12743 bool temp3
= False
;
12744 PyObject
* obj0
= 0 ;
12745 PyObject
* obj1
= 0 ;
12746 PyObject
* obj2
= 0 ;
12747 PyObject
* obj3
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 arg2
= wxString_in_helper(obj1
);
12757 if (arg2
== NULL
) SWIG_fail
;
12761 arg3
= wxString_in_helper(obj2
);
12762 if (arg3
== NULL
) SWIG_fail
;
12766 arg4
= (bool) SWIG_AsBool(obj3
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxFileType
*arg1
= (wxFileType
*) 0 ;
12804 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12805 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12806 int arg3
= (int) 0 ;
12808 bool temp2
= False
;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 PyObject
* obj2
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self",(char *) "cmd",(char *) "index", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 arg2
= wxString_in_helper(obj1
);
12822 if (arg2
== NULL
) SWIG_fail
;
12827 arg3
= (int) SWIG_AsInt(obj2
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12854 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxFileType
*arg1
= (wxFileType
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (bool)(arg1
)->Unassociate();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12882 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxString
*arg1
= 0 ;
12885 wxString
*arg2
= 0 ;
12886 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12887 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12889 bool temp1
= False
;
12890 bool temp2
= False
;
12891 bool temp3
= False
;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 PyObject
* obj2
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12901 arg1
= wxString_in_helper(obj0
);
12902 if (arg1
== NULL
) SWIG_fail
;
12906 arg2
= wxString_in_helper(obj1
);
12907 if (arg2
== NULL
) SWIG_fail
;
12912 arg3
= wxString_in_helper(obj2
);
12913 if (arg3
== NULL
) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12961 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12964 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12966 return Py_BuildValue((char *)"");
12968 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12969 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12974 static PyObject
*_wrap_TheMimeTypesManager_get() {
12977 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12982 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxString
*arg1
= 0 ;
12985 wxString
*arg2
= 0 ;
12987 bool temp1
= False
;
12988 bool temp2
= False
;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "mimeType",(char *) "wildcard", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12997 arg1
= wxString_in_helper(obj0
);
12998 if (arg1
== NULL
) SWIG_fail
;
13002 arg2
= wxString_in_helper(obj1
);
13003 if (arg2
== NULL
) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxMimeTypesManager
*result
;
13041 char *kwnames
[] = {
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13060 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13063 int arg2
= (int) wxMAILCAP_ALL
;
13064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13066 bool temp3
= False
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 arg2
= (int) SWIG_AsInt(obj1
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13083 arg3
= wxString_in_helper(obj2
);
13084 if (arg3
== NULL
) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 (arg1
)->ClearData();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 Py_INCREF(Py_None
); resultobj
= Py_None
;
13135 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13138 wxString
*arg2
= 0 ;
13139 wxFileType
*result
;
13140 bool temp2
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "ext", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= wxString_in_helper(obj1
);
13152 if (arg2
== NULL
) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13177 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13180 wxString
*arg2
= 0 ;
13181 wxFileType
*result
;
13182 bool temp2
= False
;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self",(char *) "mimeType", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13193 arg2
= wxString_in_helper(obj1
);
13194 if (arg2
== NULL
) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13219 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13222 wxString
*arg2
= 0 ;
13223 bool arg3
= (bool) False
;
13225 bool temp2
= False
;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 PyObject
* obj2
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 arg2
= wxString_in_helper(obj1
);
13238 if (arg2
== NULL
) SWIG_fail
;
13242 arg3
= (bool) SWIG_AsBool(obj2
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13269 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13272 wxString
*arg2
= 0 ;
13274 bool temp2
= False
;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "filename", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 arg2
= wxString_in_helper(obj1
);
13286 if (arg2
== NULL
) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13313 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= result
;
13339 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13342 wxFileTypeInfo
*arg2
= 0 ;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "ft", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13355 if (arg2
== NULL
) {
13356 PyErr_SetString(PyExc_TypeError
,"null reference");
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13376 wxFileTypeInfo
*arg2
= 0 ;
13377 wxFileType
*result
;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "ftInfo", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13390 if (arg2
== NULL
) {
13391 PyErr_SetString(PyExc_TypeError
,"null reference");
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13408 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13411 wxFileType
*arg2
= (wxFileType
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "ft", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (bool)(arg1
)->Unassociate(arg2
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13440 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13468 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13470 return Py_BuildValue((char *)"");
13472 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13473 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13478 static PyObject
*_wrap_ART_TOOLBAR_get() {
13483 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13485 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13492 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13493 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13498 static PyObject
*_wrap_ART_MENU_get() {
13503 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13505 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13512 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13513 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13518 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13523 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13525 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13532 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13533 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13538 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13543 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13545 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13552 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13553 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13558 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13563 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13565 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13572 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13573 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13578 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13583 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13585 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13592 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13593 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13598 static PyObject
*_wrap_ART_OTHER_get() {
13603 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13605 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13612 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13613 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13618 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13623 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13625 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13632 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13633 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13638 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13643 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13645 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13652 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13653 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13658 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13663 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13665 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13672 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13673 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13678 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13683 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13685 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13692 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13693 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13698 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13703 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13705 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13712 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13713 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13718 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13723 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13725 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13732 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13733 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13738 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13743 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13745 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13752 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13753 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13758 static PyObject
*_wrap_ART_GO_BACK_get() {
13763 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13765 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13772 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13773 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13778 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13783 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13785 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13792 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13793 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13798 static PyObject
*_wrap_ART_GO_UP_get() {
13803 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13805 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13812 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13813 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13818 static PyObject
*_wrap_ART_GO_DOWN_get() {
13823 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13825 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13832 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13833 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13838 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13843 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13845 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13852 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13853 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13858 static PyObject
*_wrap_ART_GO_HOME_get() {
13863 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13865 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13872 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13873 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13878 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13883 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13885 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13892 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13893 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13898 static PyObject
*_wrap_ART_PRINT_get() {
13903 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13905 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13912 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13913 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13918 static PyObject
*_wrap_ART_HELP_get() {
13923 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13925 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13932 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13933 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13938 static PyObject
*_wrap_ART_TIP_get() {
13943 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13945 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13952 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13953 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13958 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13963 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13965 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13972 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13973 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13978 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13983 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13985 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13992 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13993 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13998 static PyObject
*_wrap_ART_NEW_DIR_get() {
14003 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14005 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14012 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14013 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14018 static PyObject
*_wrap_ART_FOLDER_get() {
14023 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14025 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14032 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14033 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14038 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14043 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14045 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14052 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14053 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14058 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14063 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14065 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14072 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14073 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14078 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14083 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14085 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14092 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14093 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14098 static PyObject
*_wrap_ART_TICK_MARK_get() {
14103 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14105 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14112 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14113 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14118 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14123 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14125 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14132 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14133 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14138 static PyObject
*_wrap_ART_ERROR_get() {
14143 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14145 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14152 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14153 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14158 static PyObject
*_wrap_ART_QUESTION_get() {
14163 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14165 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14172 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14173 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14178 static PyObject
*_wrap_ART_WARNING_get() {
14183 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14185 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14192 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14193 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14198 static PyObject
*_wrap_ART_INFORMATION_get() {
14203 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14205 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14212 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14213 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14218 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14223 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14225 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14232 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxPyArtProvider
*result
;
14235 char *kwnames
[] = {
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14254 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14257 PyObject
*arg2
= (PyObject
*) 0 ;
14258 PyObject
*arg3
= (PyObject
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 PyObject
* obj2
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "self",(char *) "_class", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "provider", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 wxPyArtProvider::PushProvider(arg1
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 Py_INCREF(Py_None
); resultobj
= Py_None
;
14310 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14313 char *kwnames
[] = {
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (bool)wxPyArtProvider::PopProvider();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14334 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "provider", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14362 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxString
*arg1
= 0 ;
14365 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14366 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14367 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14368 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14370 bool temp1
= False
;
14371 bool temp2
= False
;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 PyObject
* obj2
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "id",(char *) "client",(char *) "size", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14382 arg1
= wxString_in_helper(obj0
);
14383 if (arg1
== NULL
) SWIG_fail
;
14388 arg2
= wxString_in_helper(obj1
);
14389 if (arg2
== NULL
) SWIG_fail
;
14396 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 wxBitmap
* resultptr
;
14408 resultptr
= new wxBitmap((wxBitmap
&) result
);
14409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14433 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxString
*arg1
= 0 ;
14436 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14437 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14438 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14439 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14441 bool temp1
= False
;
14442 bool temp2
= False
;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "id",(char *) "client",(char *) "size", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14453 arg1
= wxString_in_helper(obj0
);
14454 if (arg1
== NULL
) SWIG_fail
;
14459 arg2
= wxString_in_helper(obj1
);
14460 if (arg2
== NULL
) SWIG_fail
;
14467 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14478 wxIcon
* resultptr
;
14479 resultptr
= new wxIcon((wxIcon
&) result
);
14480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14504 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 wxPyArtProvider_Destroy(arg1
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14532 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14534 return Py_BuildValue((char *)"");
14536 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14564 wxConfigBase
*result
;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "config", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14587 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 bool arg1
= (bool) True
;
14590 wxConfigBase
*result
;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "createOnDemand", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14598 arg1
= (bool) SWIG_AsBool(obj0
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14615 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxConfigBase
*result
;
14618 char *kwnames
[] = {
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxConfigBase
*)wxConfigBase::Create();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14637 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 char *kwnames
[] = {
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 wxConfigBase::DontCreateOnDemand();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14661 wxString
*arg2
= 0 ;
14662 bool temp2
= False
;
14663 PyObject
* obj0
= 0 ;
14664 PyObject
* obj1
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self",(char *) "path", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 arg2
= wxString_in_helper(obj1
);
14674 if (arg2
== NULL
) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 (arg1
)->SetPath((wxString
const &)*arg2
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 Py_INCREF(Py_None
); resultobj
= Py_None
;
14699 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14715 result
= (wxString
*) &_result_ref
;
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14734 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= result
;
14760 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "index", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14774 arg2
= (long) SWIG_AsLong(obj1
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= result
;
14790 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
;
14816 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self",(char *) "index", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 arg2
= (long) SWIG_AsLong(obj1
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= result
;
14846 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14849 bool arg2
= (bool) False
;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self",(char *) "recursive", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14861 arg2
= (bool) SWIG_AsBool(obj1
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14878 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14881 bool arg2
= (bool) False
;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "recursive", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 arg2
= (bool) SWIG_AsBool(obj1
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14910 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14913 wxString
*arg2
= 0 ;
14915 bool temp2
= False
;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "name", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 arg2
= wxString_in_helper(obj1
);
14927 if (arg2
== NULL
) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14954 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14957 wxString
*arg2
= 0 ;
14959 bool temp2
= False
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "name", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 arg2
= wxString_in_helper(obj1
);
14971 if (arg2
== NULL
) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14998 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15001 wxString
*arg2
= 0 ;
15003 bool temp2
= False
;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self",(char *) "name", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 arg2
= wxString_in_helper(obj1
);
15015 if (arg2
== NULL
) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15042 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15045 wxString
*arg2
= 0 ;
15047 bool temp2
= False
;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "name", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 arg2
= wxString_in_helper(obj1
);
15059 if (arg2
== NULL
) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_FromInt((int)result
);
15084 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15087 wxString
*arg2
= 0 ;
15088 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15091 bool temp2
= False
;
15092 bool temp3
= False
;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 PyObject
* obj2
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15104 arg2
= wxString_in_helper(obj1
);
15105 if (arg2
== NULL
) SWIG_fail
;
15110 arg3
= wxString_in_helper(obj2
);
15111 if (arg3
== NULL
) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15151 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15154 wxString
*arg2
= 0 ;
15155 long arg3
= (long) 0 ;
15157 bool temp2
= False
;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 arg2
= wxString_in_helper(obj1
);
15170 if (arg2
== NULL
) SWIG_fail
;
15174 arg3
= (long) SWIG_AsLong(obj2
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_FromLong((long)result
);
15199 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15202 wxString
*arg2
= 0 ;
15203 double arg3
= (double) 0.0 ;
15205 bool temp2
= False
;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 PyObject
* obj2
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 arg2
= wxString_in_helper(obj1
);
15218 if (arg2
== NULL
) SWIG_fail
;
15222 arg3
= (double) SWIG_AsDouble(obj2
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= SWIG_FromDouble((double)result
);
15247 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15250 wxString
*arg2
= 0 ;
15251 bool arg3
= (bool) False
;
15253 bool temp2
= False
;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 PyObject
* obj2
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 arg2
= wxString_in_helper(obj1
);
15266 if (arg2
== NULL
) SWIG_fail
;
15270 arg3
= (bool) SWIG_AsBool(obj2
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15297 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15300 wxString
*arg2
= 0 ;
15301 wxString
*arg3
= 0 ;
15303 bool temp2
= False
;
15304 bool temp3
= False
;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 PyObject
* obj2
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "key",(char *) "value", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 arg2
= wxString_in_helper(obj1
);
15317 if (arg2
== NULL
) SWIG_fail
;
15321 arg3
= wxString_in_helper(obj2
);
15322 if (arg3
== NULL
) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15357 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15360 wxString
*arg2
= 0 ;
15363 bool temp2
= False
;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "key",(char *) "value", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 arg2
= wxString_in_helper(obj1
);
15376 if (arg2
== NULL
) SWIG_fail
;
15379 arg3
= (long) SWIG_AsLong(obj2
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15405 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15408 wxString
*arg2
= 0 ;
15411 bool temp2
= False
;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 PyObject
* obj2
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self",(char *) "key",(char *) "value", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 arg2
= wxString_in_helper(obj1
);
15424 if (arg2
== NULL
) SWIG_fail
;
15427 arg3
= (double) SWIG_AsDouble(obj2
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15453 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15456 wxString
*arg2
= 0 ;
15459 bool temp2
= False
;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 PyObject
* obj2
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "key",(char *) "value", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 arg2
= wxString_in_helper(obj1
);
15472 if (arg2
== NULL
) SWIG_fail
;
15475 arg3
= (bool) SWIG_AsBool(obj2
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15501 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15504 bool arg2
= (bool) False
;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "currentOnly", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 arg2
= (bool) SWIG_AsBool(obj1
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (bool)(arg1
)->Flush(arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15535 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15538 wxString
*arg2
= 0 ;
15539 wxString
*arg3
= 0 ;
15541 bool temp2
= False
;
15542 bool temp3
= False
;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 arg2
= wxString_in_helper(obj1
);
15555 if (arg2
== NULL
) SWIG_fail
;
15559 arg3
= wxString_in_helper(obj2
);
15560 if (arg3
== NULL
) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15598 wxString
*arg2
= 0 ;
15599 wxString
*arg3
= 0 ;
15601 bool temp2
= False
;
15602 bool temp3
= False
;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 PyObject
* obj2
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15614 arg2
= wxString_in_helper(obj1
);
15615 if (arg2
== NULL
) SWIG_fail
;
15619 arg3
= wxString_in_helper(obj2
);
15620 if (arg3
== NULL
) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15655 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15658 wxString
*arg2
= 0 ;
15659 bool arg3
= (bool) True
;
15661 bool temp2
= False
;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 PyObject
* obj2
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= wxString_in_helper(obj1
);
15674 if (arg2
== NULL
) SWIG_fail
;
15678 arg3
= (bool) SWIG_AsBool(obj2
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15705 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15708 wxString
*arg2
= 0 ;
15710 bool temp2
= False
;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "key", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 arg2
= wxString_in_helper(obj1
);
15722 if (arg2
== NULL
) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)(arg1
)->DeleteAll();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15780 bool arg2
= (bool) True
;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self",(char *) "doIt", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 arg2
= (bool) SWIG_AsBool(obj1
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 (arg1
)->SetExpandEnvVars(arg2
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 Py_INCREF(Py_None
); resultobj
= Py_None
;
15808 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15836 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15839 bool arg2
= (bool) True
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "doIt", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 arg2
= (bool) SWIG_AsBool(obj1
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetRecordDefaults(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15898 wxString
*arg2
= 0 ;
15900 bool temp2
= False
;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "str", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 arg2
= wxString_in_helper(obj1
);
15912 if (arg2
== NULL
) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15943 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15975 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16007 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16010 wxString
*arg2
= 0 ;
16011 bool temp2
= False
;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self",(char *) "appName", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 arg2
= wxString_in_helper(obj1
);
16023 if (arg2
== NULL
) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 (arg1
)->SetAppName((wxString
const &)*arg2
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16051 wxString
*arg2
= 0 ;
16052 bool temp2
= False
;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "vendorName", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16063 arg2
= wxString_in_helper(obj1
);
16064 if (arg2
== NULL
) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 Py_INCREF(Py_None
); resultobj
= Py_None
;
16089 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "style", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16102 arg2
= (long) SWIG_AsLong(obj1
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->SetStyle(arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16118 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_FromLong((long)result
);
16144 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16147 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16149 return Py_BuildValue((char *)"");
16151 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16154 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16155 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16156 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16157 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16158 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16159 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16160 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16161 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16163 bool temp1
= False
;
16164 bool temp2
= False
;
16165 bool temp3
= False
;
16166 bool temp4
= False
;
16167 PyObject
* obj0
= 0 ;
16168 PyObject
* obj1
= 0 ;
16169 PyObject
* obj2
= 0 ;
16170 PyObject
* obj3
= 0 ;
16171 PyObject
* obj4
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16179 arg1
= wxString_in_helper(obj0
);
16180 if (arg1
== NULL
) SWIG_fail
;
16186 arg2
= wxString_in_helper(obj1
);
16187 if (arg2
== NULL
) SWIG_fail
;
16193 arg3
= wxString_in_helper(obj2
);
16194 if (arg3
== NULL
) SWIG_fail
;
16200 arg4
= wxString_in_helper(obj3
);
16201 if (arg4
== NULL
) SWIG_fail
;
16206 arg5
= (long) SWIG_AsLong(obj4
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16255 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxConfig
*arg1
= (wxConfig
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 Py_INCREF(Py_None
); resultobj
= Py_None
;
16280 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16283 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16285 return Py_BuildValue((char *)"");
16287 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16290 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16291 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16292 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16293 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16294 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16295 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16296 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16297 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16298 wxFileConfig
*result
;
16299 bool temp1
= False
;
16300 bool temp2
= False
;
16301 bool temp3
= False
;
16302 bool temp4
= False
;
16303 PyObject
* obj0
= 0 ;
16304 PyObject
* obj1
= 0 ;
16305 PyObject
* obj2
= 0 ;
16306 PyObject
* obj3
= 0 ;
16307 PyObject
* obj4
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16315 arg1
= wxString_in_helper(obj0
);
16316 if (arg1
== NULL
) SWIG_fail
;
16322 arg2
= wxString_in_helper(obj1
);
16323 if (arg2
== NULL
) SWIG_fail
;
16329 arg3
= wxString_in_helper(obj2
);
16330 if (arg3
== NULL
) SWIG_fail
;
16336 arg4
= wxString_in_helper(obj3
);
16337 if (arg4
== NULL
) SWIG_fail
;
16342 arg5
= (long) SWIG_AsLong(obj4
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16391 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 Py_INCREF(Py_None
); resultobj
= Py_None
;
16416 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16419 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16421 return Py_BuildValue((char *)"");
16423 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16426 wxString
*arg2
= 0 ;
16427 wxConfigPathChanger
*result
;
16428 bool temp2
= False
;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "config",(char *) "entry", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 arg2
= wxString_in_helper(obj1
);
16440 if (arg2
== NULL
) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16465 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16467 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16506 result
= (wxString
*) &_result_ref
;
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16516 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16525 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16528 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16530 return Py_BuildValue((char *)"");
16532 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxString
*arg1
= 0 ;
16536 bool temp1
= False
;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "sz", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16544 arg1
= wxString_in_helper(obj0
);
16545 if (arg1
== NULL
) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16576 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16577 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16582 static PyObject
*_wrap_DateFormatStr_get() {
16587 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16589 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16596 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16597 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16602 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16607 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16609 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16616 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "country", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16625 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 Py_INCREF(Py_None
); resultobj
= Py_None
;
16641 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16644 char *kwnames
[] = {
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (int)wxDateTime::GetCountry();
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= SWIG_FromInt((int)result
);
16663 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16665 int arg1
= (int) wxDateTime::Country_Default
;
16667 PyObject
* obj0
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "country", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16674 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16693 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 int arg1
= (int) wxDateTime::Gregorian
;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "cal", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16704 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_FromInt((int)result
);
16721 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "year", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16731 arg1
= (int) SWIG_AsInt(obj0
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_FromInt((int)result
);
16747 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 int arg1
= (int) wxDateTime::Gregorian
;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "cal", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16758 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_FromInt((int)result
);
16775 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 int arg1
= (int) wxDateTime::Inv_Year
;
16778 int arg2
= (int) wxDateTime::Gregorian
;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "year",(char *) "cal", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16788 arg1
= (int) SWIG_AsInt(obj0
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16811 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 int arg1
= (int) wxDateTime::Inv_Year
;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "year", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16822 arg1
= (int) SWIG_AsInt(obj0
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (int)wxDateTime::GetCentury(arg1
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_FromInt((int)result
);
16839 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16842 int arg2
= (int) wxDateTime::Gregorian
;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "year",(char *) "cal", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 arg1
= (int) SWIG_AsInt(obj0
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= SWIG_FromInt((int)result
);
16871 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16874 int arg2
= (int) wxDateTime::Inv_Year
;
16875 int arg3
= (int) wxDateTime::Gregorian
;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "month",(char *) "year",(char *) "cal", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16885 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 arg2
= (int) SWIG_AsInt(obj1
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= SWIG_FromInt((int)result
);
16909 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16912 int arg2
= (int) wxDateTime::Name_Full
;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "month",(char *) "flags", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16947 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16950 int arg2
= (int) wxDateTime::Name_Full
;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "weekday",(char *) "flags", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16959 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16985 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxString
*arg1
= (wxString
*) 0 ;
16988 wxString
*arg2
= (wxString
*) 0 ;
16989 bool temp1
= False
;
16990 bool temp2
= False
;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16999 arg1
= wxString_in_helper(obj0
);
17000 if (arg1
== NULL
) SWIG_fail
;
17004 arg2
= wxString_in_helper(obj1
);
17005 if (arg2
== NULL
) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17038 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 int arg1
= (int) wxDateTime::Inv_Year
;
17041 int arg2
= (int) wxDateTime::Country_Default
;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "year",(char *) "country", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 arg1
= (int) SWIG_AsInt(obj0
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17074 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 int arg1
= (int) wxDateTime::Inv_Year
;
17077 int arg2
= (int) wxDateTime::Country_Default
;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "year",(char *) "country", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 arg1
= (int) SWIG_AsInt(obj0
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 wxDateTime
* resultptr
;
17103 resultptr
= new wxDateTime((wxDateTime
&) result
);
17104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17112 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 int arg1
= (int) wxDateTime::Inv_Year
;
17115 int arg2
= (int) wxDateTime::Country_Default
;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "year",(char *) "country", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17125 arg1
= (int) SWIG_AsInt(obj0
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 wxDateTime
* resultptr
;
17141 resultptr
= new wxDateTime((wxDateTime
&) result
);
17142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17150 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17153 char *kwnames
[] = {
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= wxDateTime::Now();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 wxDateTime
* resultptr
;
17167 resultptr
= new wxDateTime((wxDateTime
&) result
);
17168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17176 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17179 char *kwnames
[] = {
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= wxDateTime::UNow();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 wxDateTime
* resultptr
;
17193 resultptr
= new wxDateTime((wxDateTime
&) result
);
17194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17202 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17205 char *kwnames
[] = {
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= wxDateTime::Today();
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_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxDateTime
*result
;
17231 char *kwnames
[] = {
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxDateTime
*)new wxDateTime();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17250 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17253 wxDateTime
*result
;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "timet", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17260 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxDateTime
*)new wxDateTime(arg1
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17276 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17279 wxDateTime
*result
;
17280 PyObject
* obj0
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "jdn", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17286 arg1
= (double) SWIG_AsDouble(obj0
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxDateTime
*)new wxDateTime(arg1
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17302 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17305 int arg2
= (int) 0 ;
17306 int arg3
= (int) 0 ;
17307 int arg4
= (int) 0 ;
17308 wxDateTime
*result
;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 PyObject
* obj2
= 0 ;
17312 PyObject
* obj3
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17318 arg1
= (int) SWIG_AsInt(obj0
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 arg2
= (int) SWIG_AsInt(obj1
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 arg3
= (int) SWIG_AsInt(obj2
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 arg4
= (int) SWIG_AsInt(obj3
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17346 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17349 int arg2
= (int) wxDateTime::Inv_Month
;
17350 int arg3
= (int) wxDateTime::Inv_Year
;
17351 int arg4
= (int) 0 ;
17352 int arg5
= (int) 0 ;
17353 int arg6
= (int) 0 ;
17354 int arg7
= (int) 0 ;
17355 wxDateTime
*result
;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 PyObject
* obj3
= 0 ;
17360 PyObject
* obj4
= 0 ;
17361 PyObject
* obj5
= 0 ;
17362 PyObject
* obj6
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17368 arg1
= (int) SWIG_AsInt(obj0
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 arg3
= (int) SWIG_AsInt(obj2
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 arg4
= (int) SWIG_AsInt(obj3
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 arg5
= (int) SWIG_AsInt(obj4
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 arg6
= (int) SWIG_AsInt(obj5
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 arg7
= (int) SWIG_AsInt(obj6
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17408 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 Py_INCREF(Py_None
); resultobj
= Py_None
;
17433 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17436 wxDateTime
*result
;
17437 PyObject
* obj0
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "self", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17449 result
= (wxDateTime
*) &_result_ref
;
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17462 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17466 wxDateTime
*result
;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "self",(char *) "timet", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17476 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17482 result
= (wxDateTime
*) &_result_ref
;
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17495 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17499 wxDateTime
*result
;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self",(char *) "jdn", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 arg2
= (double) SWIG_AsDouble(obj1
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17515 result
= (wxDateTime
*) &_result_ref
;
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17528 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17532 int arg3
= (int) 0 ;
17533 int arg4
= (int) 0 ;
17534 int arg5
= (int) 0 ;
17535 wxDateTime
*result
;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 PyObject
* obj2
= 0 ;
17539 PyObject
* obj3
= 0 ;
17540 PyObject
* obj4
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= (int) SWIG_AsInt(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 arg3
= (int) SWIG_AsInt(obj2
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 arg4
= (int) SWIG_AsInt(obj3
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17559 arg5
= (int) SWIG_AsInt(obj4
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17566 result
= (wxDateTime
*) &_result_ref
;
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17579 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17583 int arg3
= (int) wxDateTime::Inv_Month
;
17584 int arg4
= (int) wxDateTime::Inv_Year
;
17585 int arg5
= (int) 0 ;
17586 int arg6
= (int) 0 ;
17587 int arg7
= (int) 0 ;
17588 int arg8
= (int) 0 ;
17589 wxDateTime
*result
;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 PyObject
* obj2
= 0 ;
17593 PyObject
* obj3
= 0 ;
17594 PyObject
* obj4
= 0 ;
17595 PyObject
* obj5
= 0 ;
17596 PyObject
* obj6
= 0 ;
17597 PyObject
* obj7
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 arg2
= (int) SWIG_AsInt(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 arg4
= (int) SWIG_AsInt(obj3
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 arg5
= (int) SWIG_AsInt(obj4
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 arg6
= (int) SWIG_AsInt(obj5
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 arg7
= (int) SWIG_AsInt(obj6
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 arg8
= (int) SWIG_AsInt(obj7
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17635 result
= (wxDateTime
*) &_result_ref
;
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17648 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17651 wxDateTime
*result
;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17664 result
= (wxDateTime
*) &_result_ref
;
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17677 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17681 wxDateTime
*result
;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "year", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 arg2
= (int) SWIG_AsInt(obj1
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17697 result
= (wxDateTime
*) &_result_ref
;
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17710 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17714 wxDateTime
*result
;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self",(char *) "month", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17724 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17730 result
= (wxDateTime
*) &_result_ref
;
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17743 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17747 wxDateTime
*result
;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "day", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17757 arg2
= (int) SWIG_AsInt(obj1
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17763 result
= (wxDateTime
*) &_result_ref
;
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17776 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17780 wxDateTime
*result
;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self",(char *) "hour", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17790 arg2
= (int) SWIG_AsInt(obj1
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17796 result
= (wxDateTime
*) &_result_ref
;
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17809 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17813 wxDateTime
*result
;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self",(char *) "minute", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17823 arg2
= (int) SWIG_AsInt(obj1
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17829 result
= (wxDateTime
*) &_result_ref
;
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17842 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17846 wxDateTime
*result
;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "second", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17856 arg2
= (int) SWIG_AsInt(obj1
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17862 result
= (wxDateTime
*) &_result_ref
;
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17875 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17879 wxDateTime
*result
;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "millisecond", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 arg2
= (int) SWIG_AsInt(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17895 result
= (wxDateTime
*) &_result_ref
;
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17908 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17912 int arg3
= (int) wxDateTime::Monday_First
;
17913 wxDateTime
*result
;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 PyObject
* obj2
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17934 result
= (wxDateTime
*) &_result_ref
;
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17947 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17951 int arg3
= (int) wxDateTime::Monday_First
;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 PyObject
* obj2
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17977 wxDateTime
* resultptr
;
17978 resultptr
= new wxDateTime((wxDateTime
&) result
);
17979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17987 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17991 wxDateTime
*result
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "weekday", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18007 result
= (wxDateTime
*) &_result_ref
;
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18020 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "weekday", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 wxDateTime
* resultptr
;
18045 resultptr
= new wxDateTime((wxDateTime
&) result
);
18046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18054 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18058 wxDateTime
*result
;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "weekday", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18074 result
= (wxDateTime
*) &_result_ref
;
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18087 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "weekday", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 wxDateTime
* resultptr
;
18112 resultptr
= new wxDateTime((wxDateTime
&) result
);
18113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18121 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18125 int arg3
= (int) 1 ;
18126 int arg4
= (int) wxDateTime::Inv_Month
;
18127 int arg5
= (int) wxDateTime::Inv_Year
;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 PyObject
* obj2
= 0 ;
18132 PyObject
* obj3
= 0 ;
18133 PyObject
* obj4
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18141 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 arg3
= (int) SWIG_AsInt(obj2
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 arg5
= (int) SWIG_AsInt(obj4
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18171 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18175 int arg3
= (int) wxDateTime::Inv_Month
;
18176 int arg4
= (int) wxDateTime::Inv_Year
;
18178 PyObject
* obj0
= 0 ;
18179 PyObject
* obj1
= 0 ;
18180 PyObject
* obj2
= 0 ;
18181 PyObject
* obj3
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 arg4
= (int) SWIG_AsInt(obj3
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18215 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18219 int arg3
= (int) wxDateTime::Inv_Month
;
18220 int arg4
= (int) wxDateTime::Inv_Year
;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 PyObject
* obj3
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 arg4
= (int) SWIG_AsInt(obj3
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 wxDateTime
* resultptr
;
18252 resultptr
= new wxDateTime((wxDateTime
&) result
);
18253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18261 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18265 int arg3
= (int) wxDateTime::Mon
;
18266 int arg4
= (int) wxDateTime::Monday_First
;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 PyObject
* obj2
= 0 ;
18271 PyObject
* obj3
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (int) SWIG_AsInt(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18286 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18305 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18309 int arg3
= (int) wxDateTime::Mon
;
18310 int arg4
= (int) wxDateTime::Monday_First
;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 PyObject
* obj2
= 0 ;
18315 PyObject
* obj3
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 arg2
= (int) SWIG_AsInt(obj1
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 wxDateTime
* resultptr
;
18342 resultptr
= new wxDateTime((wxDateTime
&) result
);
18343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18351 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18354 int arg2
= (int) wxDateTime::Inv_Month
;
18355 int arg3
= (int) wxDateTime::Inv_Year
;
18356 wxDateTime
*result
;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "month",(char *) "year", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 arg3
= (int) SWIG_AsInt(obj2
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18379 result
= (wxDateTime
*) &_result_ref
;
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18392 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18395 int arg2
= (int) wxDateTime::Inv_Month
;
18396 int arg3
= (int) wxDateTime::Inv_Year
;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 PyObject
* obj2
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self",(char *) "month",(char *) "year", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 arg3
= (int) SWIG_AsInt(obj2
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 wxDateTime
* resultptr
;
18425 resultptr
= new wxDateTime((wxDateTime
&) result
);
18426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18434 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18438 wxDateTime
*result
;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "yday", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18448 arg2
= (int) SWIG_AsInt(obj1
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18454 result
= (wxDateTime
*) &_result_ref
;
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18467 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self",(char *) "yday", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 arg2
= (int) SWIG_AsInt(obj1
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (arg1
)->GetYearDay(arg2
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 wxDateTime
* resultptr
;
18492 resultptr
= new wxDateTime((wxDateTime
&) result
);
18493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18501 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (double)(arg1
)->GetJulianDayNumber();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_FromDouble((double)result
);
18527 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (double)(arg1
)->GetJDN();
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_FromDouble((double)result
);
18553 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_FromDouble((double)result
);
18579 static PyObject
*_wrap_DateTime_GetMJD(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_GetMJD",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
)->GetMJD();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_FromDouble((double)result
);
18605 static PyObject
*_wrap_DateTime_GetRataDie(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_GetRataDie",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
)->GetRataDie();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_FromDouble((double)result
);
18631 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18634 wxDateTime::TimeZone
*arg2
= 0 ;
18635 bool arg3
= (bool) False
;
18637 bool temp2
= False
;
18638 PyObject
* obj0
= 0 ;
18639 PyObject
* obj1
= 0 ;
18640 PyObject
* obj2
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18649 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18653 arg3
= (bool) SWIG_AsBool(obj2
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 wxDateTime
* resultptr
;
18665 resultptr
= new wxDateTime((wxDateTime
&) result
);
18666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18669 if (temp2
) delete arg2
;
18674 if (temp2
) delete arg2
;
18680 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18683 wxDateTime::TimeZone
*arg2
= 0 ;
18684 bool arg3
= (bool) False
;
18685 wxDateTime
*result
;
18686 bool temp2
= False
;
18687 PyObject
* obj0
= 0 ;
18688 PyObject
* obj1
= 0 ;
18689 PyObject
* obj2
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18698 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18702 arg3
= (bool) SWIG_AsBool(obj2
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18709 result
= (wxDateTime
*) &_result_ref
;
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18717 if (temp2
) delete arg2
;
18722 if (temp2
) delete arg2
;
18728 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18731 bool arg2
= (bool) False
;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "noDST", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18743 arg2
= (bool) SWIG_AsBool(obj1
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (arg1
)->ToGMT(arg2
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 wxDateTime
* resultptr
;
18755 resultptr
= new wxDateTime((wxDateTime
&) result
);
18756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18764 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18767 bool arg2
= (bool) False
;
18768 wxDateTime
*result
;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "noDST", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 arg2
= (bool) SWIG_AsBool(obj1
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18786 result
= (wxDateTime
*) &_result_ref
;
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18799 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18802 int arg2
= (int) wxDateTime::Country_Default
;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self",(char *) "country", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18814 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_FromInt((int)result
);
18831 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18859 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18885 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18888 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18889 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18891 bool temp2
= False
;
18892 PyObject
* obj0
= 0 ;
18893 PyObject
* obj1
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self",(char *) "tz", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18903 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_FromInt((int)result
);
18916 if (temp2
) delete arg2
;
18921 if (temp2
) delete arg2
;
18927 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18930 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18931 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18933 bool temp2
= False
;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self",(char *) "tz", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18945 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_FromInt((int)result
);
18958 if (temp2
) delete arg2
;
18963 if (temp2
) delete arg2
;
18969 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18972 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18973 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18975 bool temp2
= False
;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "tz", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= SWIG_FromInt((int)result
);
19000 if (temp2
) delete arg2
;
19005 if (temp2
) delete arg2
;
19011 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19014 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19015 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19017 bool temp2
= False
;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "tz", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_FromInt((int)result
);
19042 if (temp2
) delete arg2
;
19047 if (temp2
) delete arg2
;
19053 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19056 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19057 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19059 bool temp2
= False
;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self",(char *) "tz", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19071 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_FromInt((int)result
);
19084 if (temp2
) delete arg2
;
19089 if (temp2
) delete arg2
;
19095 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19098 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19099 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19101 bool temp2
= False
;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "tz", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_FromInt((int)result
);
19126 if (temp2
) delete arg2
;
19131 if (temp2
) delete arg2
;
19137 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19140 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19141 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19143 bool temp2
= False
;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "tz", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19155 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_FromInt((int)result
);
19168 if (temp2
) delete arg2
;
19173 if (temp2
) delete arg2
;
19179 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19182 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19183 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19185 bool temp2
= False
;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self",(char *) "tz", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19197 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_FromInt((int)result
);
19210 if (temp2
) delete arg2
;
19215 if (temp2
) delete arg2
;
19221 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19224 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19225 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19227 bool temp2
= False
;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self",(char *) "tz", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19239 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_FromInt((int)result
);
19252 if (temp2
) delete arg2
;
19257 if (temp2
) delete arg2
;
19263 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19266 int arg2
= (int) wxDateTime::Monday_First
;
19267 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19268 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19270 bool temp3
= False
;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 PyObject
* obj2
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "flags",(char *) "tz", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19287 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_FromInt((int)result
);
19300 if (temp3
) delete arg3
;
19305 if (temp3
) delete arg3
;
19311 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19314 int arg2
= (int) wxDateTime::Monday_First
;
19315 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19316 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19318 bool temp3
= False
;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 PyObject
* obj2
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "flags",(char *) "tz", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19330 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19335 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_FromInt((int)result
);
19348 if (temp3
) delete arg3
;
19353 if (temp3
) delete arg3
;
19359 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19362 int arg2
= (int) wxDateTime::Country_Default
;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "country", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19374 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19393 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19396 wxDateTime
*arg2
= 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "datetime", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19410 if (arg2
== NULL
) {
19411 PyErr_SetString(PyExc_TypeError
,"null reference");
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19430 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19433 wxDateTime
*arg2
= 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self",(char *) "datetime", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19447 if (arg2
== NULL
) {
19448 PyErr_SetString(PyExc_TypeError
,"null reference");
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19467 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19470 wxDateTime
*arg2
= 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "datetime", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19484 if (arg2
== NULL
) {
19485 PyErr_SetString(PyExc_TypeError
,"null reference");
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19504 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19507 wxDateTime
*arg2
= 0 ;
19508 wxDateTime
*arg3
= 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self",(char *) "t1",(char *) "t2", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19523 if (arg2
== NULL
) {
19524 PyErr_SetString(PyExc_TypeError
,"null reference");
19527 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19530 if (arg3
== NULL
) {
19531 PyErr_SetString(PyExc_TypeError
,"null reference");
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19550 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19553 wxDateTime
*arg2
= 0 ;
19554 wxDateTime
*arg3
= 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "t1",(char *) "t2", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19569 if (arg2
== NULL
) {
19570 PyErr_SetString(PyExc_TypeError
,"null reference");
19573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19576 if (arg3
== NULL
) {
19577 PyErr_SetString(PyExc_TypeError
,"null reference");
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19596 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19599 wxDateTime
*arg2
= 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "dt", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19613 if (arg2
== NULL
) {
19614 PyErr_SetString(PyExc_TypeError
,"null reference");
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19633 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19636 wxDateTime
*arg2
= 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "dt", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19650 if (arg2
== NULL
) {
19651 PyErr_SetString(PyExc_TypeError
,"null reference");
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19670 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19673 wxDateTime
*arg2
= 0 ;
19674 wxTimeSpan
*arg3
= 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 PyObject
* obj2
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "dt",(char *) "ts", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19689 if (arg2
== NULL
) {
19690 PyErr_SetString(PyExc_TypeError
,"null reference");
19693 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19696 if (arg3
== NULL
) {
19697 PyErr_SetString(PyExc_TypeError
,"null reference");
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19716 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19719 wxTimeSpan
*arg2
= 0 ;
19720 wxDateTime
*result
;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self",(char *) "diff", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19733 if (arg2
== NULL
) {
19734 PyErr_SetString(PyExc_TypeError
,"null reference");
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19741 result
= (wxDateTime
*) &_result_ref
;
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19754 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19757 wxDateSpan
*arg2
= 0 ;
19758 wxDateTime
*result
;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self",(char *) "diff", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19771 if (arg2
== NULL
) {
19772 PyErr_SetString(PyExc_TypeError
,"null reference");
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19779 result
= (wxDateTime
*) &_result_ref
;
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19792 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19795 wxTimeSpan
*arg2
= 0 ;
19796 wxDateTime
*result
;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "diff", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19809 if (arg2
== NULL
) {
19810 PyErr_SetString(PyExc_TypeError
,"null reference");
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19817 result
= (wxDateTime
*) &_result_ref
;
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19830 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19833 wxDateSpan
*arg2
= 0 ;
19834 wxDateTime
*result
;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "diff", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19847 if (arg2
== NULL
) {
19848 PyErr_SetString(PyExc_TypeError
,"null reference");
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19855 result
= (wxDateTime
*) &_result_ref
;
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19868 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19871 wxDateTime
*arg2
= 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self",(char *) "dt", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19885 if (arg2
== NULL
) {
19886 PyErr_SetString(PyExc_TypeError
,"null reference");
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19897 wxTimeSpan
* resultptr
;
19898 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19907 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19908 PyObject
*resultobj
;
19909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19910 wxTimeSpan
*arg2
= 0 ;
19911 wxDateTime
*result
;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19915 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19921 if (arg2
== NULL
) {
19922 PyErr_SetString(PyExc_TypeError
,"null reference");
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19929 result
= (wxDateTime
*) &_result_ref
;
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19942 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19943 PyObject
*resultobj
;
19944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19945 wxDateSpan
*arg2
= 0 ;
19946 wxDateTime
*result
;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19950 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19956 if (arg2
== NULL
) {
19957 PyErr_SetString(PyExc_TypeError
,"null reference");
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19964 result
= (wxDateTime
*) &_result_ref
;
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19977 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19982 argc
= PyObject_Length(args
);
19983 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19984 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20008 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20026 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20034 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20039 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20044 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20045 PyObject
*resultobj
;
20046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20047 wxTimeSpan
*arg2
= 0 ;
20048 wxDateTime
*result
;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20052 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20058 if (arg2
== NULL
) {
20059 PyErr_SetString(PyExc_TypeError
,"null reference");
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20066 result
= (wxDateTime
*) &_result_ref
;
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20079 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20080 PyObject
*resultobj
;
20081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20082 wxDateSpan
*arg2
= 0 ;
20083 wxDateTime
*result
;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20087 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20093 if (arg2
== NULL
) {
20094 PyErr_SetString(PyExc_TypeError
,"null reference");
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20101 result
= (wxDateTime
*) &_result_ref
;
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20114 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20119 argc
= PyObject_Length(args
);
20120 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20121 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20137 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20145 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20153 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20163 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20171 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20176 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20181 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20182 PyObject
*resultobj
;
20183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20184 wxTimeSpan
*arg2
= 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20189 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20195 if (arg2
== NULL
) {
20196 PyErr_SetString(PyExc_TypeError
,"null reference");
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 wxDateTime
* resultptr
;
20208 resultptr
= new wxDateTime((wxDateTime
&) result
);
20209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20217 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20218 PyObject
*resultobj
;
20219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20220 wxDateSpan
*arg2
= 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20225 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20231 if (arg2
== NULL
) {
20232 PyErr_SetString(PyExc_TypeError
,"null reference");
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20243 wxDateTime
* resultptr
;
20244 resultptr
= new wxDateTime((wxDateTime
&) result
);
20245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20253 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20258 argc
= PyObject_Length(args
);
20259 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20260 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20276 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20284 return _wrap_DateTime___add____SWIG_0(self
,args
);
20292 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20302 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20310 return _wrap_DateTime___add____SWIG_1(self
,args
);
20315 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20320 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20321 PyObject
*resultobj
;
20322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20323 wxDateTime
*arg2
= 0 ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20328 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20334 if (arg2
== NULL
) {
20335 PyErr_SetString(PyExc_TypeError
,"null reference");
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 wxTimeSpan
* resultptr
;
20347 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20356 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20357 PyObject
*resultobj
;
20358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20359 wxTimeSpan
*arg2
= 0 ;
20361 PyObject
* obj0
= 0 ;
20362 PyObject
* obj1
= 0 ;
20364 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20370 if (arg2
== NULL
) {
20371 PyErr_SetString(PyExc_TypeError
,"null reference");
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 wxDateTime
* resultptr
;
20383 resultptr
= new wxDateTime((wxDateTime
&) result
);
20384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20392 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20393 PyObject
*resultobj
;
20394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20395 wxDateSpan
*arg2
= 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20400 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20406 if (arg2
== NULL
) {
20407 PyErr_SetString(PyExc_TypeError
,"null reference");
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 wxDateTime
* resultptr
;
20419 resultptr
= new wxDateTime((wxDateTime
&) result
);
20420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20428 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20433 argc
= PyObject_Length(args
);
20434 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20435 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20441 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20451 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20459 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20477 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20485 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20503 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20511 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20516 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20521 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20522 PyObject
*resultobj
;
20523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20524 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20529 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20550 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20551 PyObject
*resultobj
;
20552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20553 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20558 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20579 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20580 PyObject
*resultobj
;
20581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20582 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20587 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20608 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20609 PyObject
*resultobj
;
20610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20611 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20616 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20637 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20638 PyObject
*resultobj
;
20639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20640 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20645 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20667 PyObject
*resultobj
;
20668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20669 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20674 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20695 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20698 wxString
*arg2
= 0 ;
20700 bool temp2
= False
;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "date", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20711 arg2
= wxString_in_helper(obj1
);
20712 if (arg2
== NULL
) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_FromInt((int)result
);
20737 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20740 wxString
*arg2
= 0 ;
20741 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20742 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20743 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20744 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20746 bool temp2
= False
;
20747 bool temp3
= False
;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 PyObject
* obj2
= 0 ;
20751 PyObject
* obj3
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 arg2
= wxString_in_helper(obj1
);
20761 if (arg2
== NULL
) SWIG_fail
;
20766 arg3
= wxString_in_helper(obj2
);
20767 if (arg3
== NULL
) SWIG_fail
;
20772 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20775 if (arg4
== NULL
) {
20776 PyErr_SetString(PyExc_TypeError
,"null reference");
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_FromInt((int)result
);
20810 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20813 wxString
*arg2
= 0 ;
20815 bool temp2
= False
;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self",(char *) "datetime", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20826 arg2
= wxString_in_helper(obj1
);
20827 if (arg2
== NULL
) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_FromInt((int)result
);
20852 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20855 wxString
*arg2
= 0 ;
20857 bool temp2
= False
;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self",(char *) "date", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20868 arg2
= wxString_in_helper(obj1
);
20869 if (arg2
== NULL
) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_FromInt((int)result
);
20894 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20897 wxString
*arg2
= 0 ;
20899 bool temp2
= False
;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self",(char *) "time", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20910 arg2
= wxString_in_helper(obj1
);
20911 if (arg2
== NULL
) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_FromInt((int)result
);
20936 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20939 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20940 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20941 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20942 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20944 bool temp2
= False
;
20945 bool temp3
= False
;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 PyObject
* obj2
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self",(char *) "format",(char *) "tz", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 arg2
= wxString_in_helper(obj1
);
20959 if (arg2
== NULL
) SWIG_fail
;
20965 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20988 if (temp3
) delete arg3
;
20997 if (temp3
) delete arg3
;
21003 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21035 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= ((wxDateTime
const *)arg1
)->FormatTime();
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());
21067 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21099 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21103 PyObject
* obj0
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21131 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21134 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21136 return Py_BuildValue((char *)"");
21138 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "sec", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21148 arg1
= (long) SWIG_AsLong(obj0
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= wxTimeSpan::Seconds(arg1
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 wxTimeSpan
* resultptr
;
21159 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21168 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21171 char *kwnames
[] = {
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 result
= wxTimeSpan::Second();
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21184 wxTimeSpan
* resultptr
;
21185 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21194 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21198 PyObject
* obj0
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "min", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21204 arg1
= (long) SWIG_AsLong(obj0
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= wxTimeSpan::Minutes(arg1
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21214 wxTimeSpan
* resultptr
;
21215 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21224 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21227 char *kwnames
[] = {
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= wxTimeSpan::Minute();
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21240 wxTimeSpan
* resultptr
;
21241 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21250 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "hours", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21260 arg1
= (long) SWIG_AsLong(obj0
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= wxTimeSpan::Hours(arg1
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 wxTimeSpan
* resultptr
;
21271 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21280 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21283 char *kwnames
[] = {
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= wxTimeSpan::Hour();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 wxTimeSpan
* resultptr
;
21297 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21306 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21310 PyObject
* obj0
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "days", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21316 arg1
= (long) SWIG_AsLong(obj0
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= wxTimeSpan::Days(arg1
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 wxTimeSpan
* resultptr
;
21327 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21336 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21339 char *kwnames
[] = {
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= wxTimeSpan::Day();
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 wxTimeSpan
* resultptr
;
21353 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21362 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21366 PyObject
* obj0
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "days", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21372 arg1
= (long) SWIG_AsLong(obj0
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= wxTimeSpan::Weeks(arg1
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21382 wxTimeSpan
* resultptr
;
21383 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21392 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21395 char *kwnames
[] = {
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= wxTimeSpan::Week();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 wxTimeSpan
* resultptr
;
21409 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21418 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 long arg1
= (long) 0 ;
21421 long arg2
= (long) 0 ;
21422 long arg3
= (long) 0 ;
21423 long arg4
= (long) 0 ;
21424 wxTimeSpan
*result
;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 PyObject
* obj2
= 0 ;
21428 PyObject
* obj3
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21435 arg1
= (long) SWIG_AsLong(obj0
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 arg2
= (long) SWIG_AsLong(obj1
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 arg3
= (long) SWIG_AsLong(obj2
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 arg4
= (long) SWIG_AsLong(obj3
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21464 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 Py_INCREF(Py_None
); resultobj
= Py_None
;
21489 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
;
21491 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21492 wxTimeSpan
*arg2
= 0 ;
21493 wxTimeSpan
*result
;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self",(char *) "diff", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21506 if (arg2
== NULL
) {
21507 PyErr_SetString(PyExc_TypeError
,"null reference");
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21514 result
= (wxTimeSpan
*) &_result_ref
;
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21527 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21530 wxTimeSpan
*arg2
= 0 ;
21531 wxTimeSpan
*result
;
21532 PyObject
* obj0
= 0 ;
21533 PyObject
* obj1
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self",(char *) "diff", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21544 if (arg2
== NULL
) {
21545 PyErr_SetString(PyExc_TypeError
,"null reference");
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21552 result
= (wxTimeSpan
*) &_result_ref
;
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21565 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21569 wxTimeSpan
*result
;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "n", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 arg2
= (int) SWIG_AsInt(obj1
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21585 result
= (wxTimeSpan
*) &_result_ref
;
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21598 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21601 wxTimeSpan
*result
;
21602 PyObject
* obj0
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21614 result
= (wxTimeSpan
*) &_result_ref
;
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21627 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 wxTimeSpan
* resultptr
;
21648 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21657 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21660 wxTimeSpan
*arg2
= 0 ;
21661 wxTimeSpan
*result
;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "diff", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21674 if (arg2
== NULL
) {
21675 PyErr_SetString(PyExc_TypeError
,"null reference");
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21682 result
= (wxTimeSpan
*) &_result_ref
;
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21695 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21698 wxTimeSpan
*arg2
= 0 ;
21699 wxTimeSpan
*result
;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char *kwnames
[] = {
21703 (char *) "self",(char *) "diff", NULL
21706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21712 if (arg2
== NULL
) {
21713 PyErr_SetString(PyExc_TypeError
,"null reference");
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21720 result
= (wxTimeSpan
*) &_result_ref
;
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21733 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21737 wxTimeSpan
*result
;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "n", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21747 arg2
= (int) SWIG_AsInt(obj1
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21753 result
= (wxTimeSpan
*) &_result_ref
;
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21766 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21768 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21769 wxTimeSpan
*result
;
21770 PyObject
* obj0
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21782 result
= (wxTimeSpan
*) &_result_ref
;
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21795 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21798 wxTimeSpan
*arg2
= 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "other", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21812 if (arg2
== NULL
) {
21813 PyErr_SetString(PyExc_TypeError
,"null reference");
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 wxTimeSpan
* resultptr
;
21825 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21834 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21837 wxTimeSpan
*arg2
= 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self",(char *) "other", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21851 if (arg2
== NULL
) {
21852 PyErr_SetString(PyExc_TypeError
,"null reference");
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21863 wxTimeSpan
* resultptr
;
21864 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21873 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "n", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 arg2
= (int) SWIG_AsInt(obj1
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= wxTimeSpan___mul__(arg1
,arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 wxTimeSpan
* resultptr
;
21898 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21907 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
;
21909 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "n", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 arg2
= (int) SWIG_AsInt(obj1
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 wxTimeSpan
* resultptr
;
21932 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21941 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21944 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "other", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21973 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21976 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "other", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22005 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22008 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self",(char *) "other", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22037 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
;
22039 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22040 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 char *kwnames
[] = {
22045 (char *) "self",(char *) "other", NULL
22048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22072 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "other", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22104 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "other", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22161 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22189 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22217 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22220 wxTimeSpan
*arg2
= 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "ts", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22234 if (arg2
== NULL
) {
22235 PyErr_SetString(PyExc_TypeError
,"null reference");
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22257 wxTimeSpan
*arg2
= 0 ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "ts", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22271 if (arg2
== NULL
) {
22272 PyErr_SetString(PyExc_TypeError
,"null reference");
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22291 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22294 wxTimeSpan
*arg2
= 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self",(char *) "t", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22308 if (arg2
== NULL
) {
22309 PyErr_SetString(PyExc_TypeError
,"null reference");
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22328 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= SWIG_FromInt((int)result
);
22354 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_FromInt((int)result
);
22380 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_FromInt((int)result
);
22406 static PyObject
*_wrap_TimeSpan_GetMinutes(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_GetMinutes",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
)->GetMinutes();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_FromInt((int)result
);
22432 static PyObject
*_wrap_TimeSpan_GetSeconds(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_GetSeconds",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
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22452 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22453 hi
= PyLong_FromLong( (&result
)->GetHi() );
22454 lo
= PyLong_FromLong( (&result
)->GetLo() );
22455 shifter
= PyLong_FromLong(32);
22456 shifted
= PyNumber_Lshift(hi
, shifter
);
22457 resultobj
= PyNumber_Or(shifted
, lo
);
22460 Py_DECREF(shifter
);
22461 Py_DECREF(shifted
);
22469 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22490 hi
= PyLong_FromLong( (&result
)->GetHi() );
22491 lo
= PyLong_FromLong( (&result
)->GetLo() );
22492 shifter
= PyLong_FromLong(32);
22493 shifted
= PyNumber_Lshift(hi
, shifter
);
22494 resultobj
= PyNumber_Or(shifted
, lo
);
22497 Py_DECREF(shifter
);
22498 Py_DECREF(shifted
);
22506 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22509 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22512 bool temp2
= False
;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "format", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22524 arg2
= wxString_in_helper(obj1
);
22525 if (arg2
== NULL
) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22557 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22560 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22562 return Py_BuildValue((char *)"");
22564 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 int arg1
= (int) 0 ;
22567 int arg2
= (int) 0 ;
22568 int arg3
= (int) 0 ;
22569 int arg4
= (int) 0 ;
22570 wxDateSpan
*result
;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 PyObject
* obj2
= 0 ;
22574 PyObject
* obj3
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22581 arg1
= (int) SWIG_AsInt(obj0
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 arg2
= (int) SWIG_AsInt(obj1
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 arg3
= (int) SWIG_AsInt(obj2
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 arg4
= (int) SWIG_AsInt(obj3
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22610 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "days", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22645 arg1
= (int) SWIG_AsInt(obj0
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= wxDateSpan::Days(arg1
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 wxDateSpan
* resultptr
;
22656 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22665 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22668 char *kwnames
[] = {
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= wxDateSpan::Day();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 wxDateSpan
* resultptr
;
22682 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22691 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "weeks", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22701 arg1
= (int) SWIG_AsInt(obj0
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= wxDateSpan::Weeks(arg1
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 wxDateSpan
* resultptr
;
22712 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22721 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22724 char *kwnames
[] = {
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= wxDateSpan::Week();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 wxDateSpan
* resultptr
;
22738 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22747 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22751 PyObject
* obj0
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "mon", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22757 arg1
= (int) SWIG_AsInt(obj0
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= wxDateSpan::Months(arg1
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22767 wxDateSpan
* resultptr
;
22768 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22777 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22780 char *kwnames
[] = {
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= wxDateSpan::Month();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 wxDateSpan
* resultptr
;
22794 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22803 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
;
22807 PyObject
* obj0
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "years", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22813 arg1
= (int) SWIG_AsInt(obj0
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= wxDateSpan::Years(arg1
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 wxDateSpan
* resultptr
;
22824 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22833 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22836 char *kwnames
[] = {
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= wxDateSpan::Year();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 wxDateSpan
* resultptr
;
22850 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22859 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22863 wxDateSpan
*result
;
22864 PyObject
* obj0
= 0 ;
22865 PyObject
* obj1
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "n", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 arg2
= (int) SWIG_AsInt(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22879 result
= (wxDateSpan
*) &_result_ref
;
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22892 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22896 wxDateSpan
*result
;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "n", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 arg2
= (int) SWIG_AsInt(obj1
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22912 result
= (wxDateSpan
*) &_result_ref
;
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22925 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22929 wxDateSpan
*result
;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "n", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22939 arg2
= (int) SWIG_AsInt(obj1
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22945 result
= (wxDateSpan
*) &_result_ref
;
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22958 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22962 wxDateSpan
*result
;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "n", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 arg2
= (int) SWIG_AsInt(obj1
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22978 result
= (wxDateSpan
*) &_result_ref
;
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22991 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_FromInt((int)result
);
23017 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_FromInt((int)result
);
23043 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_FromInt((int)result
);
23069 static PyObject
*_wrap_DateSpan_GetDays(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_GetDays",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
)->GetDays();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_FromInt((int)result
);
23095 static PyObject
*_wrap_DateSpan_GetTotalDays(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_GetTotalDays",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
)->GetTotalDays();
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_FromInt((int)result
);
23121 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23124 wxDateSpan
*arg2
= 0 ;
23125 wxDateSpan
*result
;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self",(char *) "other", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23138 if (arg2
== NULL
) {
23139 PyErr_SetString(PyExc_TypeError
,"null reference");
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23146 result
= (wxDateSpan
*) &_result_ref
;
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23159 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23162 wxDateSpan
*arg2
= 0 ;
23163 wxDateSpan
*result
;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "other", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23176 if (arg2
== NULL
) {
23177 PyErr_SetString(PyExc_TypeError
,"null reference");
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23184 result
= (wxDateSpan
*) &_result_ref
;
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23197 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23200 wxDateSpan
*result
;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23213 result
= (wxDateSpan
*) &_result_ref
;
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23226 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23230 wxDateSpan
*result
;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self",(char *) "factor", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23240 arg2
= (int) SWIG_AsInt(obj1
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23246 result
= (wxDateSpan
*) &_result_ref
;
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23259 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23262 wxDateSpan
*arg2
= 0 ;
23263 wxDateSpan
*result
;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "other", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23276 if (arg2
== NULL
) {
23277 PyErr_SetString(PyExc_TypeError
,"null reference");
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23284 result
= (wxDateSpan
*) &_result_ref
;
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23297 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23300 wxDateSpan
*arg2
= 0 ;
23301 wxDateSpan
*result
;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "other", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23314 if (arg2
== NULL
) {
23315 PyErr_SetString(PyExc_TypeError
,"null reference");
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23322 result
= (wxDateSpan
*) &_result_ref
;
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23335 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23338 wxDateSpan
*result
;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23351 result
= (wxDateSpan
*) &_result_ref
;
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23364 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23368 wxDateSpan
*result
;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "factor", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 arg2
= (int) SWIG_AsInt(obj1
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23384 result
= (wxDateSpan
*) &_result_ref
;
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23397 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23400 wxDateSpan
*arg2
= 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "other", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23414 if (arg2
== NULL
) {
23415 PyErr_SetString(PyExc_TypeError
,"null reference");
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 wxDateSpan
* resultptr
;
23427 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23436 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23439 wxDateSpan
*arg2
= 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "other", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23453 if (arg2
== NULL
) {
23454 PyErr_SetString(PyExc_TypeError
,"null reference");
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23465 wxDateSpan
* resultptr
;
23466 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23475 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "n", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23489 arg2
= (int) SWIG_AsInt(obj1
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= wxDateSpan___mul__(arg1
,arg2
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23499 wxDateSpan
* resultptr
;
23500 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23509 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "n", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 arg2
= (int) SWIG_AsInt(obj1
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= wxDateSpan___rmul__(arg1
,arg2
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 wxDateSpan
* resultptr
;
23534 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23543 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23546 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "other", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23575 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23578 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self",(char *) "other", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23607 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23610 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23612 return Py_BuildValue((char *)"");
23614 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23617 char *kwnames
[] = {
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= (long)wxGetLocalTime();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_FromLong((long)result
);
23636 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23639 char *kwnames
[] = {
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (long)wxGetUTCTime();
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_FromLong((long)result
);
23658 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23661 char *kwnames
[] = {
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (long)wxGetCurrentTime();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_FromLong((long)result
);
23680 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23683 char *kwnames
[] = {
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= wxGetLocalTimeMillis();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23696 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23697 hi
= PyLong_FromLong( (&result
)->GetHi() );
23698 lo
= PyLong_FromLong( (&result
)->GetLo() );
23699 shifter
= PyLong_FromLong(32);
23700 shifted
= PyNumber_Lshift(hi
, shifter
);
23701 resultobj
= PyNumber_Or(shifted
, lo
);
23704 Py_DECREF(shifter
);
23705 Py_DECREF(shifted
);
23713 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23714 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23719 static PyObject
*_wrap_DefaultDateTime_get() {
23722 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23727 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23730 wxDataFormat
*result
;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "type", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23737 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23753 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxString
*arg1
= 0 ;
23756 wxDataFormat
*result
;
23757 bool temp1
= False
;
23758 PyObject
* obj0
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "format", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23765 arg1
= wxString_in_helper(obj0
);
23766 if (arg1
== NULL
) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23791 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23816 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23817 PyObject
*resultobj
;
23818 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23824 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23845 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23846 PyObject
*resultobj
;
23847 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23853 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23874 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23875 PyObject
*resultobj
;
23876 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23877 wxDataFormat
*arg2
= 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23882 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23888 if (arg2
== NULL
) {
23889 PyErr_SetString(PyExc_TypeError
,"null reference");
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23913 argc
= PyObject_Length(args
);
23914 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23915 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23931 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23939 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23947 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23955 _v
= SWIG_CheckInt(argv
[1]);
23957 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23962 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23967 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23968 PyObject
*resultobj
;
23969 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23970 wxDataFormat
*arg2
= 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23975 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23981 if (arg2
== NULL
) {
23982 PyErr_SetString(PyExc_TypeError
,"null reference");
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24001 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24006 argc
= PyObject_Length(args
);
24007 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24008 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24014 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24024 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24032 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24048 _v
= SWIG_CheckInt(argv
[1]);
24050 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24055 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24060 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "format", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 (arg1
)->SetType((wxDataFormatId
)arg2
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_FromInt((int)result
);
24115 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= ((wxDataFormat
const *)arg1
)->GetId();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24147 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24150 wxString
*arg2
= 0 ;
24151 bool temp2
= False
;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self",(char *) "format", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24162 arg2
= wxString_in_helper(obj1
);
24163 if (arg2
== NULL
) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 (arg1
)->SetId((wxString
const &)*arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 Py_INCREF(Py_None
); resultobj
= Py_None
;
24188 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24191 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24193 return Py_BuildValue((char *)"");
24195 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24196 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24201 static PyObject
*_wrap_FormatInvalid_get() {
24204 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24209 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24237 int arg2
= (int) wxDataObject::Get
;
24238 SwigValueWrapper
< wxDataFormat
> result
;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self",(char *) "dir", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 wxDataFormat
* resultptr
;
24261 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24270 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24273 int arg2
= (int) wxDataObject::Get
;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self",(char *) "dir", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24285 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24302 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24305 wxDataFormat
*arg2
= 0 ;
24306 int arg3
= (int) wxDataObject::Get
;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 PyObject
* obj2
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "format",(char *) "dir", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24321 if (arg2
== NULL
) {
24322 PyErr_SetString(PyExc_TypeError
,"null reference");
24326 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24345 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
;
24347 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24348 wxDataFormat
*arg2
= 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "format", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24362 if (arg2
== NULL
) {
24363 PyErr_SetString(PyExc_TypeError
,"null reference");
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24380 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24383 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24384 int arg3
= (int) wxDataObject::Get
;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 PyObject
* obj2
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self",(char *) "formats",(char *) "dir", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 Py_INCREF(Py_None
); resultobj
= Py_None
;
24415 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24418 wxDataFormat
*arg2
= 0 ;
24419 void *arg3
= (void *) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "format",(char *) "buf", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24434 if (arg2
== NULL
) {
24435 PyErr_SetString(PyExc_TypeError
,"null reference");
24438 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24455 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24458 wxDataFormat
*arg2
= 0 ;
24460 void *arg4
= (void *) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 PyObject
* obj3
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24476 if (arg2
== NULL
) {
24477 PyErr_SetString(PyExc_TypeError
,"null reference");
24480 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24482 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24499 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24502 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24504 return Py_BuildValue((char *)"");
24506 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24509 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24510 wxDataObjectSimple
*result
;
24511 PyObject
* obj0
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "format", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24521 if (arg1
== NULL
) {
24522 PyErr_SetString(PyExc_TypeError
,"null reference");
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24540 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24543 wxDataFormat
*result
;
24544 PyObject
* obj0
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24556 result
= (wxDataFormat
*) &_result_ref
;
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24569 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24572 wxDataFormat
*arg2
= 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "format", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24585 if (arg2
== NULL
) {
24586 PyErr_SetString(PyExc_TypeError
,"null reference");
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 Py_INCREF(Py_None
); resultobj
= Py_None
;
24603 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24606 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24608 return Py_BuildValue((char *)"");
24610 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24613 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24614 wxPyDataObjectSimple
*result
;
24615 PyObject
* obj0
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "format", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24625 if (arg1
== NULL
) {
24626 PyErr_SetString(PyExc_TypeError
,"null reference");
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24644 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24647 PyObject
*arg2
= (PyObject
*) 0 ;
24648 PyObject
*arg3
= (PyObject
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 PyObject
* obj2
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self",(char *) "self",(char *) "_class", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 Py_INCREF(Py_None
); resultobj
= Py_None
;
24675 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24678 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24680 return Py_BuildValue((char *)"");
24682 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxDataObjectComposite
*result
;
24685 char *kwnames
[] = {
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24704 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24707 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24708 int arg3
= (int) False
;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 PyObject
* obj2
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24720 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24722 arg3
= (int) SWIG_AsInt(obj2
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 (arg1
)->Add(arg2
,arg3
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 Py_INCREF(Py_None
); resultobj
= Py_None
;
24739 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24742 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24744 return Py_BuildValue((char *)"");
24746 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24749 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24750 wxTextDataObject
*result
;
24751 bool temp1
= False
;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "text", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24760 arg1
= wxString_in_helper(obj0
);
24761 if (arg1
== NULL
) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24787 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (size_t)(arg1
)->GetTextLength();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24813 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (arg1
)->GetText();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24845 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24848 wxString
*arg2
= 0 ;
24849 bool temp2
= False
;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 char *kwnames
[] = {
24853 (char *) "self",(char *) "text", NULL
24856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24860 arg2
= wxString_in_helper(obj1
);
24861 if (arg2
== NULL
) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->SetText((wxString
const &)*arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24886 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24889 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24891 return Py_BuildValue((char *)"");
24893 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24896 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24897 wxPyTextDataObject
*result
;
24898 bool temp1
= False
;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "text", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24907 arg1
= wxString_in_helper(obj0
);
24908 if (arg1
== NULL
) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24934 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24937 PyObject
*arg2
= (PyObject
*) 0 ;
24938 PyObject
*arg3
= (PyObject
*) 0 ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 PyObject
* obj2
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "self",(char *) "_class", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24968 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24970 return Py_BuildValue((char *)"");
24972 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24975 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24976 wxBitmapDataObject
*result
;
24977 PyObject
* obj0
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "bitmap", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24987 if (arg1
== NULL
) {
24988 PyErr_SetString(PyExc_TypeError
,"null reference");
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25006 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25026 wxBitmap
* resultptr
;
25027 resultptr
= new wxBitmap((wxBitmap
&) result
);
25028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25036 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25039 wxBitmap
*arg2
= 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "bitmap", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25052 if (arg2
== NULL
) {
25053 PyErr_SetString(PyExc_TypeError
,"null reference");
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25073 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25075 return Py_BuildValue((char *)"");
25077 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25080 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25081 wxPyBitmapDataObject
*result
;
25082 PyObject
* obj0
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "bitmap", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25092 if (arg1
== NULL
) {
25093 PyErr_SetString(PyExc_TypeError
,"null reference");
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25111 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25114 PyObject
*arg2
= (PyObject
*) 0 ;
25115 PyObject
*arg3
= (PyObject
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 PyObject
* obj2
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "self",(char *) "_class", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25145 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25147 return Py_BuildValue((char *)"");
25149 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxFileDataObject
*result
;
25152 char *kwnames
[] = {
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (wxFileDataObject
*)new wxFileDataObject();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25171 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25174 wxArrayString
*result
;
25175 PyObject
* obj0
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25187 result
= (wxArrayString
*) &_result_ref
;
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= wxArrayString2PyList_helper(*result
);
25202 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25205 wxString
*arg2
= 0 ;
25206 bool temp2
= False
;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "filename", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25217 arg2
= wxString_in_helper(obj1
);
25218 if (arg2
== NULL
) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 (arg1
)->AddFile((wxString
const &)*arg2
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 Py_INCREF(Py_None
); resultobj
= Py_None
;
25243 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25246 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25248 return Py_BuildValue((char *)"");
25250 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25253 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25254 wxCustomDataObject
*result
;
25255 PyObject
* obj0
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "format", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25265 if (arg1
== NULL
) {
25266 PyErr_SetString(PyExc_TypeError
,"null reference");
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25284 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25287 PyObject
*arg2
= (PyObject
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "data", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 wxCustomDataObject_TakeData(arg1
,arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25312 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25315 PyObject
*arg2
= (PyObject
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "data", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25343 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= (size_t)(arg1
)->GetSize();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25369 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= result
;
25395 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25398 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25400 return Py_BuildValue((char *)"");
25402 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxURLDataObject
*result
;
25405 char *kwnames
[] = {
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (wxURLDataObject
*)new wxURLDataObject();
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25424 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (arg1
)->GetURL();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25456 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25459 wxString
*arg2
= 0 ;
25460 bool temp2
= False
;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self",(char *) "url", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 arg2
= wxString_in_helper(obj1
);
25472 if (arg2
== NULL
) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->SetURL((wxString
const &)*arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25497 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25500 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25502 return Py_BuildValue((char *)"");
25504 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxMetafileDataObject
*result
;
25507 char *kwnames
[] = {
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25526 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25529 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25531 return Py_BuildValue((char *)"");
25533 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25537 PyObject
* obj0
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "res", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25543 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25561 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25565 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25566 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25567 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25568 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25569 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25570 wxPyDropSource
*result
;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 PyObject
* obj2
= 0 ;
25574 PyObject
* obj3
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25586 if (arg2
== NULL
) {
25587 PyErr_SetString(PyExc_TypeError
,"null reference");
25592 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25595 if (arg3
== NULL
) {
25596 PyErr_SetString(PyExc_TypeError
,"null reference");
25601 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25604 if (arg4
== NULL
) {
25605 PyErr_SetString(PyExc_TypeError
,"null reference");
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25623 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25626 PyObject
*arg2
= (PyObject
*) 0 ;
25627 PyObject
*arg3
= (PyObject
*) 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 PyObject
* obj2
= 0 ;
25632 PyObject
* obj3
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 arg4
= (int) SWIG_AsInt(obj3
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 Py_INCREF(Py_None
); resultobj
= Py_None
;
25658 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25661 PyObject
* obj0
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 Py_INCREF(Py_None
); resultobj
= Py_None
;
25683 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25686 wxDataObject
*arg2
= 0 ;
25687 PyObject
* obj0
= 0 ;
25688 PyObject
* obj1
= 0 ;
25689 char *kwnames
[] = {
25690 (char *) "self",(char *) "data", NULL
25693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25699 if (arg2
== NULL
) {
25700 PyErr_SetString(PyExc_TypeError
,"null reference");
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 (arg1
)->SetData(*arg2
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 Py_INCREF(Py_None
); resultobj
= Py_None
;
25717 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25720 wxDataObject
*result
;
25721 PyObject
* obj0
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25743 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25747 wxCursor
*arg3
= 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 PyObject
* obj2
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self",(char *) "res",(char *) "cursor", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25758 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25760 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25763 if (arg3
== NULL
) {
25764 PyErr_SetString(PyExc_TypeError
,"null reference");
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 Py_INCREF(Py_None
); resultobj
= Py_None
;
25781 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25784 int arg2
= (int) wxDrag_CopyOnly
;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "flags", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25796 arg2
= (int) SWIG_AsInt(obj1
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (int)(arg1
)->DoDragDrop(arg2
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_FromInt((int)result
);
25813 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25818 PyObject
* obj0
= 0 ;
25819 PyObject
* obj1
= 0 ;
25820 char *kwnames
[] = {
25821 (char *) "self",(char *) "effect", NULL
25824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25827 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25845 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25848 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25850 return Py_BuildValue((char *)"");
25852 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25855 wxPyDropTarget
*result
;
25856 PyObject
* obj0
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "dataObject", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25864 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25880 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25883 PyObject
*arg2
= (PyObject
*) 0 ;
25884 PyObject
*arg3
= (PyObject
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 PyObject
* obj2
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "self",(char *) "_class", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 Py_INCREF(Py_None
); resultobj
= Py_None
;
25911 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25914 PyObject
* obj0
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25939 wxDataObject
*result
;
25940 PyObject
* obj0
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25962 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25965 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "dataObject", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25976 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->SetDataObject(arg2
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 PyObject
* obj2
= 0 ;
26001 PyObject
* obj3
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 arg2
= (int) SWIG_AsInt(obj1
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26011 arg3
= (int) SWIG_AsInt(obj2
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26013 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= SWIG_FromInt((int)result
);
26029 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 PyObject
* obj2
= 0 ;
26039 PyObject
* obj3
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 arg2
= (int) SWIG_AsInt(obj1
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26049 arg3
= (int) SWIG_AsInt(obj2
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26051 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_FromInt((int)result
);
26067 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26070 PyObject
* obj0
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->base_OnLeave();
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 PyObject
* obj2
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self",(char *) "x",(char *) "y", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26108 arg2
= (int) SWIG_AsInt(obj1
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26110 arg3
= (int) SWIG_AsInt(obj2
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26128 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (bool)(arg1
)->GetData();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26156 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26159 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26161 return Py_BuildValue((char *)"");
26163 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxPyTextDropTarget
*result
;
26166 char *kwnames
[] = {
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26185 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26188 PyObject
*arg2
= (PyObject
*) 0 ;
26189 PyObject
*arg3
= (PyObject
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "self",(char *) "_class", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 PyObject
* obj2
= 0 ;
26226 PyObject
* obj3
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 arg2
= (int) SWIG_AsInt(obj1
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26236 arg3
= (int) SWIG_AsInt(obj2
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26238 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_FromInt((int)result
);
26254 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
;
26256 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 PyObject
* obj2
= 0 ;
26264 PyObject
* obj3
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26272 arg2
= (int) SWIG_AsInt(obj1
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26274 arg3
= (int) SWIG_AsInt(obj2
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26276 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_FromInt((int)result
);
26292 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 (arg1
)->base_OnLeave();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 PyObject
* obj2
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self",(char *) "x",(char *) "y", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 arg2
= (int) SWIG_AsInt(obj1
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26335 arg3
= (int) SWIG_AsInt(obj2
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26353 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 PyObject
* obj2
= 0 ;
26363 PyObject
* obj3
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 arg2
= (int) SWIG_AsInt(obj1
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26373 arg3
= (int) SWIG_AsInt(obj2
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26375 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_FromInt((int)result
);
26391 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26394 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26396 return Py_BuildValue((char *)"");
26398 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxPyFileDropTarget
*result
;
26401 char *kwnames
[] = {
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26420 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26423 PyObject
*arg2
= (PyObject
*) 0 ;
26424 PyObject
*arg3
= (PyObject
*) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 PyObject
* obj2
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "self",(char *) "_class", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 Py_INCREF(Py_None
); resultobj
= Py_None
;
26451 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 PyObject
* obj2
= 0 ;
26461 PyObject
* obj3
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 arg2
= (int) SWIG_AsInt(obj1
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26471 arg3
= (int) SWIG_AsInt(obj2
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26473 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_FromInt((int)result
);
26489 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 PyObject
* obj2
= 0 ;
26499 PyObject
* obj3
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 arg2
= (int) SWIG_AsInt(obj1
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26509 arg3
= (int) SWIG_AsInt(obj2
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26511 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_FromInt((int)result
);
26527 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 (arg1
)->base_OnLeave();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 PyObject
* obj2
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "x",(char *) "y", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26568 arg2
= (int) SWIG_AsInt(obj1
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26570 arg3
= (int) SWIG_AsInt(obj2
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26588 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26595 PyObject
* obj0
= 0 ;
26596 PyObject
* obj1
= 0 ;
26597 PyObject
* obj2
= 0 ;
26598 PyObject
* obj3
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 arg2
= (int) SWIG_AsInt(obj1
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26608 arg3
= (int) SWIG_AsInt(obj2
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26610 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_FromInt((int)result
);
26626 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26629 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26631 return Py_BuildValue((char *)"");
26633 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxClipboard
*result
;
26636 char *kwnames
[] = {
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (wxClipboard
*)new wxClipboard();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26655 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 Py_INCREF(Py_None
); resultobj
= Py_None
;
26680 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "self", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (bool)(arg1
)->Open();
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26708 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 Py_INCREF(Py_None
); resultobj
= Py_None
;
26733 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26737 PyObject
* obj0
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26761 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26764 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "data", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26776 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (bool)(arg1
)->AddData(arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26793 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26796 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "data", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26808 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (bool)(arg1
)->SetData(arg2
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26825 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26828 wxDataFormat
*arg2
= 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self",(char *) "format", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26842 if (arg2
== NULL
) {
26843 PyErr_SetString(PyExc_TypeError
,"null reference");
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26862 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26865 wxDataObject
*arg2
= 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "data", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26879 if (arg2
== NULL
) {
26880 PyErr_SetString(PyExc_TypeError
,"null reference");
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (bool)(arg1
)->GetData(*arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26899 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 char *kwnames
[] = {
26904 (char *) "self", NULL
26907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 Py_INCREF(Py_None
); resultobj
= Py_None
;
26924 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26928 PyObject
* obj0
= 0 ;
26929 char *kwnames
[] = {
26930 (char *) "self", NULL
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 result
= (bool)(arg1
)->Flush();
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26952 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26955 bool arg2
= (bool) True
;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "primary", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26966 arg2
= (bool) SWIG_AsBool(obj1
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 (arg1
)->UsePrimarySelection(arg2
);
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 Py_INCREF(Py_None
); resultobj
= Py_None
;
26983 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26986 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26988 return Py_BuildValue((char *)"");
26990 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26991 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26996 static PyObject
*_wrap_TheClipboard_get() {
26999 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27004 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27007 wxClipboardLocker
*result
;
27008 PyObject
* obj0
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "clipboard", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27032 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27050 Py_INCREF(Py_None
); resultobj
= Py_None
;
27057 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27085 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27088 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27090 return Py_BuildValue((char *)"");
27092 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 int arg1
= (int) 0 ;
27095 int arg2
= (int) 0 ;
27096 int arg3
= (int) 0 ;
27097 int arg4
= (int) 0 ;
27098 wxVideoMode
*result
;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 PyObject
* obj2
= 0 ;
27102 PyObject
* obj3
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27109 arg1
= (int) SWIG_AsInt(obj0
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 arg2
= (int) SWIG_AsInt(obj1
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 arg3
= (int) SWIG_AsInt(obj2
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27121 arg4
= (int) SWIG_AsInt(obj3
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27138 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27141 PyObject
* obj0
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 Py_INCREF(Py_None
); resultobj
= Py_None
;
27163 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27166 wxVideoMode
*arg2
= 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "other", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27180 if (arg2
== NULL
) {
27181 PyErr_SetString(PyExc_TypeError
,"null reference");
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27200 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= SWIG_FromInt((int)result
);
27226 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_FromInt((int)result
);
27252 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_FromInt((int)result
);
27278 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27282 PyObject
* obj0
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27306 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
;
27308 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27309 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self",(char *) "other", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27338 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27341 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self",(char *) "other", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27370 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "w", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27383 arg2
= (int) SWIG_AsInt(obj1
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27385 if (arg1
) (arg1
)->w
= arg2
;
27387 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 result
= (int) ((arg1
)->w
);
27408 resultobj
= SWIG_FromInt((int)result
);
27415 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "h", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27428 arg2
= (int) SWIG_AsInt(obj1
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27430 if (arg1
) (arg1
)->h
= arg2
;
27432 Py_INCREF(Py_None
); resultobj
= Py_None
;
27439 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27443 PyObject
* obj0
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27451 result
= (int) ((arg1
)->h
);
27453 resultobj
= SWIG_FromInt((int)result
);
27460 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "bpp", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 arg2
= (int) SWIG_AsInt(obj1
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27475 if (arg1
) (arg1
)->bpp
= arg2
;
27477 Py_INCREF(Py_None
); resultobj
= Py_None
;
27484 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27488 PyObject
* obj0
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 result
= (int) ((arg1
)->bpp
);
27498 resultobj
= SWIG_FromInt((int)result
);
27505 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "refresh", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 arg2
= (int) SWIG_AsInt(obj1
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27520 if (arg1
) (arg1
)->refresh
= arg2
;
27522 Py_INCREF(Py_None
); resultobj
= Py_None
;
27529 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 result
= (int) ((arg1
)->refresh
);
27543 resultobj
= SWIG_FromInt((int)result
);
27550 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27553 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27555 return Py_BuildValue((char *)"");
27557 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27558 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27563 static PyObject
*_wrap_DefaultVideoMode_get() {
27566 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27571 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 size_t arg1
= (size_t) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "index", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27582 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (wxDisplay
*)new wxDisplay(arg1
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27599 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27602 PyObject
* obj0
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 Py_INCREF(Py_None
); resultobj
= Py_None
;
27624 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27627 char *kwnames
[] = {
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 result
= (size_t)wxDisplay::GetCount();
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27646 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxPoint
*arg1
= 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "pt", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27659 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= SWIG_FromInt((int)result
);
27675 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxWindow
*arg1
= (wxWindow
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "window", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (int)Display_GetFromWindow(arg1
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_FromInt((int)result
);
27701 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27729 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 wxRect
* resultptr
;
27750 resultptr
= new wxRect((wxRect
&) result
);
27751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27759 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27763 PyObject
* obj0
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "self", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= ((wxDisplay
const *)arg1
)->GetName();
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27791 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27795 PyObject
* obj0
= 0 ;
27796 char *kwnames
[] = {
27797 (char *) "self", NULL
27800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27819 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27822 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27823 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self",(char *) "mode", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27838 if (arg2
== NULL
) {
27839 PyErr_SetString(PyExc_TypeError
,"null reference");
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= result
;
27857 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27859 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27860 wxVideoMode result
;
27861 PyObject
* obj0
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "self", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27877 wxVideoMode
* resultptr
;
27878 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27887 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27890 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27891 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27893 PyObject
* obj0
= 0 ;
27894 PyObject
* obj1
= 0 ;
27895 char *kwnames
[] = {
27896 (char *) "self",(char *) "mode", NULL
27899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27906 if (arg2
== NULL
) {
27907 PyErr_SetString(PyExc_TypeError
,"null reference");
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27927 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27930 PyObject
* obj0
= 0 ;
27931 char *kwnames
[] = {
27932 (char *) "self", NULL
27935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 (arg1
)->ResetMode();
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27945 Py_INCREF(Py_None
); resultobj
= Py_None
;
27952 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
27954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27955 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27957 return Py_BuildValue((char *)"");
27959 static PyMethodDef SwigMethods
[] = {
27960 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
27961 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27962 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
27963 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
27964 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27965 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27966 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
27967 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
27968 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
27969 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27970 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
27971 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27972 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
27973 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
27974 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
27975 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
27976 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
27977 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
27978 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27979 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
27980 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
27981 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
27982 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
27983 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
27984 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
27985 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
27986 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
27987 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
27988 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
27989 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
27990 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
27991 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
27992 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
27993 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
27994 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
27995 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
27996 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
27997 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
27998 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
27999 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28000 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28001 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28002 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28003 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28004 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28005 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28006 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28007 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28008 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28009 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28010 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28011 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28012 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28034 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28042 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28058 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28063 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28066 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28069 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28075 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28089 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28095 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28101 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28104 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28118 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28121 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28122 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28125 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28152 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28154 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28156 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28158 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28165 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28171 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28184 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28189 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28192 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28209 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28217 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28263 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28291 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28301 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28317 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28333 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28347 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28356 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28399 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28402 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28405 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28409 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28501 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28502 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28503 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28504 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28505 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28506 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28507 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28508 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28509 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28510 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28521 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28566 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28600 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28608 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28609 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28614 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28623 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28627 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28630 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28633 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28638 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28641 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28645 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28648 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28652 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28658 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28662 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28664 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28674 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28685 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28693 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28701 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28714 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28718 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28736 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28754 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28756 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28757 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28759 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28760 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28762 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28763 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28765 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28766 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28768 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28769 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28771 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28772 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28774 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28775 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28777 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28778 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28780 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28783 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28784 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28786 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28787 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28789 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28790 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28792 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28793 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28795 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28796 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28798 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28799 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28801 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28802 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28804 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28805 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28807 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28808 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28810 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28811 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28813 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28814 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28816 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28817 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28819 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28820 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28822 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28823 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28825 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28826 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28828 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28829 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28831 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28832 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28834 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28835 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28837 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28838 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28840 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28841 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28843 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28846 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28847 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28849 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28850 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28852 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28853 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28855 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28856 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28858 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28859 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28861 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28862 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28864 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28865 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28867 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28868 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28870 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28871 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28873 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28874 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28876 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28877 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28879 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28880 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28882 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28883 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28885 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28886 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28888 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28889 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28891 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28892 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28894 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28895 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28897 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28898 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28900 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28901 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28903 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28904 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28906 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28907 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28909 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28910 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28912 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28913 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28915 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28916 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28918 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28919 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28921 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28922 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28924 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28925 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28927 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28928 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28930 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28931 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28933 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28934 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28936 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28937 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28939 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28940 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28942 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28943 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28945 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28946 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28948 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28951 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28952 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28954 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28955 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28957 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28958 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28960 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28961 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28963 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28964 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28966 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28967 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28969 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28970 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28972 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28973 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
28975 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28978 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28981 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28984 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28987 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28990 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28993 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28996 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) ((wxSizer
*) x
));
28999 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29002 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29005 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29008 static void *_p_wxEventTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) ((wxEvent
*) x
));
29011 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29014 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29017 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29020 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29023 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29026 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29029 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29032 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29035 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29038 static void *_p_wxControlTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29041 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29044 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29047 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29050 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29053 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29056 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29059 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29062 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29065 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29068 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29071 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29074 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29077 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29080 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29083 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29086 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29089 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29092 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29095 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29098 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29101 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29104 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29107 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29110 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29113 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29116 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29119 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29122 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29125 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29128 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29131 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29134 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29137 static void *_p_wxImageTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) ((wxImage
*) x
));
29140 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29143 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29146 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29149 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29152 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29155 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29158 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29161 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29164 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29167 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29170 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29173 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29176 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29179 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29182 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29185 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29188 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29191 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29194 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29197 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29200 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29203 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29206 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29209 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29212 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29215 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29218 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29221 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29224 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29225 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29227 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29228 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29230 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29231 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29233 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29234 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29236 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29237 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29239 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29240 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29242 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29243 return (void *)((wxWindow
*) ((wxControl
*) x
));
29245 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29246 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29248 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29249 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29251 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29252 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29254 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29255 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29257 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}};
29258 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}};
29259 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}};
29260 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}};
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 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}};
29276 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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29343 static swig_type_info
*swig_types_initial
[] = {
29344 _swigt__p_wxLogChain
,
29345 _swigt__p_wxMutexGuiLocker
,
29346 _swigt__p_wxFileHistory
,
29348 _swigt__p_wxDateTime__TimeZone
,
29351 _swigt__p_wxConfigBase
,
29352 _swigt__p_wxDisplay
,
29353 _swigt__p_wxFileType
,
29354 _swigt__p_wxLogGui
,
29356 _swigt__p_wxDataFormat
,
29357 _swigt__p_wxTimerEvent
,
29361 _swigt__p_wxClipboard
,
29362 _swigt__p_wxStopWatch
,
29364 _swigt__p_wxClipboardLocker
,
29366 _swigt__p_wxLogStderr
,
29367 _swigt__p_wxLogTextCtrl
,
29368 _swigt__p_wxTextCtrl
,
29369 _swigt__p_wxBusyCursor
,
29370 _swigt__p_wxPyBitmapDataObject
,
29371 _swigt__p_wxPyTextDataObject
,
29372 _swigt__p_wxBitmapDataObject
,
29373 _swigt__p_wxTextDataObject
,
29374 _swigt__p_wxDataObject
,
29375 _swigt__p_wxFileDataObject
,
29376 _swigt__p_wxCustomDataObject
,
29377 _swigt__p_wxURLDataObject
,
29378 _swigt__p_wxMetafileDataObject
,
29380 _swigt__p_wxTimerRunner
,
29381 _swigt__p_wxLogWindow
,
29382 _swigt__p_wxTimeSpan
,
29383 _swigt__p_wxArrayString
,
29384 _swigt__p_wxWindowDisabler
,
29385 _swigt__p_wxToolTip
,
29386 _swigt__p_wxDataObjectComposite
,
29387 _swigt__p_wxFileConfig
,
29388 _swigt__p_wxSystemSettings
,
29389 _swigt__p_wxVideoMode
,
29390 _swigt__p_wxPyDataObjectSimple
,
29391 _swigt__p_wxDataObjectSimple
,
29392 _swigt__p_wxEvtHandler
,
29395 _swigt__p_wxSingleInstanceChecker
,
29396 _swigt__p_wxFileTypeInfo
,
29399 _swigt__p_wxMimeTypesManager
,
29400 _swigt__p_wxPyArtProvider
,
29401 _swigt__p_wxPyTipProvider
,
29402 _swigt__p_wxTipProvider
,
29403 _swigt__p_wxJoystick
,
29404 _swigt__p_wxSystemOptions
,
29406 _swigt__p_wxJoystickEvent
,
29407 _swigt__p_wxCursor
,
29408 _swigt__p_wxObject
,
29409 _swigt__p_wxOutputStream
,
29410 _swigt__p_wxDateTime
,
29411 _swigt__p_wxPyDropSource
,
29412 _swigt__p_wxWindow
,
29413 _swigt__p_wxString
,
29414 _swigt__p_wxPyProcess
,
29415 _swigt__p_wxBitmap
,
29416 _swigt__p_wxConfig
,
29418 _swigt__p_wxBusyInfo
,
29419 _swigt__p_wxPyDropTarget
,
29420 _swigt__p_wxPyTextDropTarget
,
29421 _swigt__p_wxPyFileDropTarget
,
29422 _swigt__p_wxProcessEvent
,
29424 _swigt__p_wxLogNull
,
29425 _swigt__p_wxColour
,
29426 _swigt__p_wxConfigPathChanger
,
29427 _swigt__p_wxPyTimer
,
29428 _swigt__p_wxDateSpan
,
29433 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29435 static swig_const_info swig_const_table
[] = {
29436 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29437 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29438 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29439 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29440 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29450 SWIGEXPORT(void) SWIG_init(void) {
29451 static PyObject
*SWIG_globals
= 0;
29452 static int typeinit
= 0;
29455 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29456 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29457 d
= PyModule_GetDict(m
);
29460 for (i
= 0; swig_types_initial
[i
]; i
++) {
29461 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29465 SWIG_InstallConstants(d
,swig_const_table
);
29467 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29468 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29469 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29470 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29471 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29472 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29473 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29474 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29475 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29476 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29477 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29478 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29479 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29480 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29481 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29482 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29483 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29484 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29485 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29486 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29487 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29488 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29489 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29490 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29491 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29492 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29493 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29494 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29495 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29496 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29497 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29498 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29499 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29500 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29501 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29502 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29503 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29504 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29505 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29506 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29507 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29508 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29509 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29510 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29511 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29512 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29513 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29514 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29515 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29516 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29517 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29518 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29519 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29520 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29521 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29522 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29523 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29524 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29525 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29526 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29527 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29528 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29529 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29530 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29531 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29532 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29533 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29534 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29535 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29536 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29537 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29538 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29539 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29540 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29541 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29542 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29543 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29544 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29545 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29546 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29547 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29548 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29549 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29550 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29551 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29552 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29553 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29554 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29555 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29556 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29557 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29558 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29559 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29560 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29561 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29562 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29563 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29564 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29565 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29566 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29568 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29570 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29571 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29572 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29573 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29574 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29575 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29576 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29577 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29578 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29579 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29580 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29581 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29582 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29583 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29584 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29585 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29586 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29587 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29588 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29589 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29590 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29591 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29592 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29593 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29594 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29595 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29596 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29597 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29598 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29599 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29600 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29601 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29602 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29603 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29604 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29605 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29606 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29607 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29608 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29609 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29610 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29611 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29612 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29613 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29614 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29615 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29616 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29617 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29618 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29619 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29621 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29623 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29624 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29625 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29626 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29627 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29628 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29629 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29630 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29631 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29632 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29633 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29634 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29635 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29636 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29637 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29638 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29639 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29640 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29641 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29642 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29643 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29644 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29645 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29646 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29647 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29648 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29649 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29650 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29651 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29652 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29653 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29654 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29655 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29656 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29657 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29658 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29659 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29660 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29661 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29662 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29663 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29664 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29665 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29666 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29667 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29672 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29673 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29674 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29675 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29676 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29677 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29678 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29679 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29680 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29682 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29684 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29685 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29686 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29687 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29688 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29689 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29690 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29691 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29692 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29693 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29694 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29695 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29696 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29697 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29698 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29699 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29700 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29701 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29702 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29703 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29704 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29705 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29706 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29707 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29708 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29709 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29710 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29711 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29712 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29713 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29714 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29715 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29716 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29717 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29718 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29719 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29720 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29721 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29722 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29723 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29724 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29725 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29726 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29727 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29728 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29729 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29730 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29731 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29732 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29733 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29734 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29735 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29736 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29737 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29738 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29739 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29740 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29741 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29742 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29743 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29744 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29745 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29746 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29747 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29748 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29749 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29750 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29751 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29752 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29753 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29754 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29755 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29756 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29757 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29758 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29759 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29760 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29761 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29762 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29763 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29764 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29765 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29766 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29767 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29768 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29769 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29770 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29771 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29772 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29773 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29774 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29775 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29776 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29777 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29778 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29779 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29780 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29781 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29782 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29783 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29784 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29785 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29786 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29787 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29788 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29789 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29790 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29791 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29792 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29793 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29794 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29795 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29796 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29797 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29798 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29799 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29800 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29801 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29802 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29803 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29813 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29814 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29815 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29816 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29817 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29818 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29819 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29820 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29821 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29822 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29823 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29824 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29825 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29826 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29827 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29828 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29829 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29830 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29831 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29832 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29833 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29834 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29835 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29836 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29837 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29838 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29839 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29840 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29841 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29842 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29843 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29844 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29845 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29846 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29847 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29848 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29849 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29850 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29851 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29852 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29853 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29854 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29855 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29856 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29857 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29858 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29859 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29860 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29861 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29862 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29863 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29864 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29865 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29866 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29867 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29868 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29869 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29870 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29871 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29872 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29873 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29874 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29875 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29876 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29877 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29878 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29879 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29880 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29881 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29882 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29883 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29885 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29886 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29887 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29888 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29890 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29891 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);