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_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #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 SWIGSTATICINLINE(unsigned long)
490 SWIG_AsUnsignedLong(PyObject
* obj
)
492 if (PyLong_Check(obj
)) {
493 return PyLong_AsUnsignedLong(obj
);
495 long i
= SWIG_AsLong(obj
);
496 if ( !PyErr_Occurred() && (i
< 0)) {
497 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
504 SWIGSTATICINLINE(int)
505 SWIG_CheckUnsignedLong(PyObject
* obj
)
507 SWIG_AsUnsignedLong(obj
);
508 if (PyErr_Occurred()) {
517 SWIGSTATICINLINE(PyObject
* )
518 SWIG_FromUnsignedLong(unsigned long value
)
520 return (value
> LONG_MAX
) ?
521 PyLong_FromUnsignedLong(value
)
522 : PyInt_FromLong(swig_numeric_cast(long,value
));
526 bool wxThread_IsMain() {
527 #ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
539 void wxCaret_SetBlinkTime(int milliseconds
) {
540 wxCaret::SetBlinkTime(milliseconds
);
544 #include <wx/snglinst.h>
548 #include <wx/msw/private.h>
549 #include <wx/dynload.h>
554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
565 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
579 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
580 PRF_ERASEBKGND
| PRF_OWNED
);
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
599 static bool s_triedToLoad
= False
;
600 static PrintWindow_t pfnPrintWindow
= NULL
;
601 if ( !s_triedToLoad
)
604 s_triedToLoad
= True
;
605 wxDynamicLibrary
dllUser32(_T("user32.dll"));
606 if ( dllUser32
.IsLoaded() )
608 wxLogNull nolog
; // Don't report errors here
609 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
621 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
629 #include <wx/tipdlg.h>
632 class wxPyTipProvider
: public wxTipProvider
{
634 wxPyTipProvider(size_t currentTip
)
635 : wxTipProvider(currentTip
) {}
637 DEC_PYCALLBACK_STRING__pure(GetTip
);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return wxEmptyString
; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&/*, bool*/) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&/*, bool*/) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
873 wxSound
*new_wxSound(wxString
const &fileName
){
874 if (fileName
.Length() == 0)
877 return new wxSound(fileName
);
879 wxSound
*new_wxSound(PyObject
*data
){
880 unsigned char* buffer
; int size
;
881 wxSound
*sound
= NULL
;
883 bool blocked
= wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
886 sound
= new wxSound(size
, buffer
);
888 wxPyEndBlockThreads(blocked
);
891 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
893 unsigned char* buffer
;
897 bool blocked
= wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
900 rv
= self
->Create(size
, buffer
);
902 wxPyEndBlockThreads(blocked
);
905 bool blocked
= wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError
,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked
);
913 #include <wx/mimetype.h>
915 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
917 if (self
->GetMimeType(&str
))
918 return wx2PyString(str
);
922 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
924 if (self
->GetMimeTypes(arr
))
925 return wxArrayString2PyList_helper(arr
);
929 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
931 if (self
->GetExtensions(arr
))
932 return wxArrayString2PyList_helper(arr
);
936 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
938 if (self
->GetIcon(&loc
))
939 return new wxIcon(loc
);
943 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
945 if (self
->GetIcon(&loc
)) {
946 wxString iconFile
= loc
.GetFileName();
949 iconIndex
= loc
.GetIndex();
951 // Make a tuple and put the values in it
952 bool blocked
= wxPyBeginBlockThreads();
953 PyObject
* tuple
= PyTuple_New(3);
954 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
955 wxT("wxIcon"), True
));
956 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
957 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
958 wxPyEndBlockThreads(blocked
);
964 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
966 if (self
->GetDescription(&str
))
967 return wx2PyString(str
);
971 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
973 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
974 return wx2PyString(str
);
978 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
980 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
981 return wx2PyString(str
);
985 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
987 wxArrayString commands
;
988 if (self
->GetAllCommands(&verbs
, &commands
,
989 wxFileType::MessageParameters(filename
, mimetype
))) {
990 bool blocked
= wxPyBeginBlockThreads();
991 PyObject
* tuple
= PyTuple_New(2);
992 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
993 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
994 wxPyEndBlockThreads(blocked
);
1000 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1001 return wxFileType::ExpandCommand(command
,
1002 wxFileType::MessageParameters(filename
, mimetype
));
1004 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1006 self
->EnumAllFileTypes(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1010 #include <wx/artprov.h>
1012 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1013 static const wxString
wxPyART_MENU(wxART_MENU
);
1014 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1015 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1016 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1017 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1018 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1019 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1020 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1021 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1022 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1023 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1024 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1025 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1026 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1027 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1028 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1029 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1030 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1031 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1032 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1033 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1034 static const wxString
wxPyART_HELP(wxART_HELP
);
1035 static const wxString
wxPyART_TIP(wxART_TIP
);
1036 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1037 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1038 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1039 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1040 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1041 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1042 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1043 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1044 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1045 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1046 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1047 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1048 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1049 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1050 // Python aware wxArtProvider
1051 class wxPyArtProvider
: public wxArtProvider
{
1054 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1055 const wxArtClient
& client
,
1056 const wxSize
& size
) {
1057 wxBitmap rval
= wxNullBitmap
;
1058 bool blocked
= wxPyBeginBlockThreads();
1059 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1060 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1064 s1
= wx2PyString(id
);
1065 s2
= wx2PyString(client
);
1066 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1071 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1076 wxPyEndBlockThreads(blocked
);
1083 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1087 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1088 PyObject
* ret
= PyTuple_New(3);
1090 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1091 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1092 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1097 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1102 cont
= self
->GetFirstGroup(value
, index
);
1103 return __EnumerationHelper(cont
, value
, index
);
1105 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1109 cont
= self
->GetNextGroup(value
, index
);
1110 return __EnumerationHelper(cont
, value
, index
);
1112 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1117 cont
= self
->GetFirstEntry(value
, index
);
1118 return __EnumerationHelper(cont
, value
, index
);
1120 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1124 cont
= self
->GetNextEntry(value
, index
);
1125 return __EnumerationHelper(cont
, value
, index
);
1127 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1129 self
->Read(key
, &rv
, defaultVal
);
1133 SWIGSTATICINLINE(double)
1134 SWIG_AsDouble(PyObject
*obj
)
1136 if (PyNumber_Check(obj
))
1137 return PyFloat_AsDouble(obj
);
1139 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1140 obj
->ob_type
->tp_name
);
1141 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1148 SWIGSTATICINLINE(int)
1149 SWIG_CheckDouble(PyObject
* obj
)
1152 if (PyErr_Occurred()) {
1160 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1162 self
->Read(key
, &rv
, defaultVal
);
1165 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1167 self
->Read(key
, &rv
, defaultVal
);
1171 #include <wx/datetime.h>
1174 static const wxString
wxPyDateFormatStr(wxT("%c"));
1175 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1177 #define LOCAL_TZ wxDateTime::Local
1180 #if UINT_MAX < LONG_MAX
1181 #define SWIG_FromUnsignedInt SWIG_FromLong
1183 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1186 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1187 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1188 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1189 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1191 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1192 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1193 return (*self
< *other
);
1195 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1196 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1197 return (*self
<= *other
);
1199 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1200 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1201 return (*self
> *other
);
1203 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1204 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1205 return (*self
>= *other
);
1207 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1208 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1209 return (*self
== *other
);
1211 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1212 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1213 return (*self
!= *other
);
1215 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1217 const wxChar
* _date
= date
;
1218 rv
= self
->ParseRfc822Date(_date
);
1219 if (rv
== NULL
) return -1;
1222 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1224 const wxChar
* _date
= date
;
1225 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1226 if (rv
== NULL
) return -1;
1229 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1231 const wxChar
* _datetime
= datetime
;
1232 rv
= self
->ParseDateTime(_datetime
);
1233 if (rv
== NULL
) return -1;
1234 return rv
- _datetime
;
1236 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1238 const wxChar
* _date
= date
;
1239 rv
= self
->ParseDate(_date
);
1240 if (rv
== NULL
) return -1;
1243 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1245 const wxChar
* _time
= time
;
1246 rv
= self
->ParseTime(_time
);
1247 if (rv
== NULL
) return -1;
1250 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1251 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1252 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1253 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1254 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1255 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1256 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1257 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1258 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1259 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1260 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1261 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1262 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1263 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1264 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1265 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1267 #include <wx/dataobj.h>
1269 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1270 size_t count
= self
->GetFormatCount(dir
);
1271 wxDataFormat
* formats
= new wxDataFormat
[count
];
1272 self
->GetAllFormats(formats
, dir
);
1274 bool blocked
= wxPyBeginBlockThreads();
1275 PyObject
* list
= PyList_New(count
);
1276 for (size_t i
=0; i
<count
; i
++) {
1277 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1278 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1279 PyList_Append(list
, obj
);
1282 wxPyEndBlockThreads(blocked
);
1286 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1287 PyObject
* rval
= NULL
;
1288 size_t size
= self
->GetDataSize(format
);
1289 bool blocked
= wxPyBeginBlockThreads();
1291 char* buf
= new char[size
];
1292 if (self
->GetDataHere(format
, buf
))
1293 rval
= PyString_FromStringAndSize(buf
, size
);
1300 wxPyEndBlockThreads(blocked
);
1303 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1305 bool blocked
= wxPyBeginBlockThreads();
1306 if (PyString_Check(data
)) {
1307 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1310 // raise a TypeError if not a string
1311 PyErr_SetString(PyExc_TypeError
, "String expected.");
1314 wxPyEndBlockThreads(blocked
);
1317 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1318 PyObject
* rval
= NULL
;
1319 size_t size
= self
->GetDataSize();
1320 bool blocked
= wxPyBeginBlockThreads();
1322 char* buf
= new char[size
];
1323 if (self
->GetDataHere(buf
))
1324 rval
= PyString_FromStringAndSize(buf
, size
);
1331 wxPyEndBlockThreads(blocked
);
1334 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1336 bool blocked
= wxPyBeginBlockThreads();
1337 if (PyString_Check(data
)) {
1338 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1341 // raise a TypeError if not a string
1342 PyErr_SetString(PyExc_TypeError
, "String expected.");
1345 wxPyEndBlockThreads(blocked
);
1348 // Create a new class for wxPython to use
1349 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1351 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1352 : wxDataObjectSimple(format
) {}
1354 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1355 bool GetDataHere(void *buf
) const;
1356 bool SetData(size_t len
, const void *buf
) const;
1360 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1362 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1363 // We need to get the data for this object and write it to buf. I think
1364 // the best way to do this for wxPython is to have the Python method
1365 // return either a string or None and then act appropriately with the
1369 bool blocked
= wxPyBeginBlockThreads();
1370 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1372 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1374 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1376 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1380 wxPyEndBlockThreads(blocked
);
1384 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1385 // For this one we simply need to make a string from buf and len
1386 // and send it to the Python method.
1388 bool blocked
= wxPyBeginBlockThreads();
1389 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1390 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1391 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1394 wxPyEndBlockThreads(blocked
);
1398 // Create a new class for wxPython to use
1399 class wxPyTextDataObject
: public wxTextDataObject
{
1401 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1402 : wxTextDataObject(text
) {}
1404 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1405 DEC_PYCALLBACK_STRING__const(GetText
);
1406 DEC_PYCALLBACK__STRING(SetText
);
1410 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1411 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1412 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1415 // Create a new class for wxPython to use
1416 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1418 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1419 : wxBitmapDataObject(bitmap
) {}
1421 wxBitmap
GetBitmap() const;
1422 void SetBitmap(const wxBitmap
& bitmap
);
1426 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1427 wxBitmap
* rval
= &wxNullBitmap
;
1428 bool blocked
= wxPyBeginBlockThreads();
1429 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1432 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1434 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1439 wxPyEndBlockThreads(blocked
);
1443 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1444 bool blocked
= wxPyBeginBlockThreads();
1445 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1446 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1447 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1450 wxPyEndBlockThreads(blocked
);
1453 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1455 bool blocked
= wxPyBeginBlockThreads();
1456 if (PyString_Check(data
)) {
1457 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1460 // raise a TypeError if not a string
1461 PyErr_SetString(PyExc_TypeError
, "String expected.");
1464 wxPyEndBlockThreads(blocked
);
1467 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1469 bool blocked
= wxPyBeginBlockThreads();
1470 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1471 wxPyEndBlockThreads(blocked
);
1475 #include <wx/metafile.h>
1478 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1481 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1482 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1484 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1485 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1488 class wxPyTextDropTarget
: public wxTextDropTarget
{
1490 wxPyTextDropTarget() {}
1492 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1494 DEC_PYCALLBACK__(OnLeave
);
1495 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1498 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1503 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1504 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1505 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1508 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1512 class wxPyFileDropTarget
: public wxFileDropTarget
{
1514 wxPyFileDropTarget() {}
1516 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1518 DEC_PYCALLBACK__(OnLeave
);
1519 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1522 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1527 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1528 const wxArrayString
& filenames
) {
1530 bool blocked
= wxPyBeginBlockThreads();
1531 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1532 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1533 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1536 wxPyEndBlockThreads(blocked
);
1542 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1543 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1546 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1551 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1553 #include "wx/display.h"
1555 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1556 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1557 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1558 PyObject
* pyList
= NULL
;
1559 wxArrayVideoModes arr
= self
->GetModes(mode
);
1560 bool blocked
= wxPyBeginBlockThreads();
1561 pyList
= PyList_New(0);
1562 for (int i
=0; i
< arr
.GetCount(); i
++) {
1563 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1564 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1565 PyList_Append(pyList
, pyObj
);
1568 wxPyEndBlockThreads(blocked
);
1574 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
*resultobj
;
1578 PyObject
* obj0
= 0 ;
1580 (char *) "index", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1584 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 if (!wxPyCheckForApp()) SWIG_fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1595 wxColour
* resultptr
;
1596 resultptr
= new wxColour((wxColour
&) result
);
1597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1605 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
*resultobj
;
1609 PyObject
* obj0
= 0 ;
1611 (char *) "index", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1615 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1618 if (!wxPyCheckForApp()) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1627 resultptr
= new wxFont((wxFont
&) result
);
1628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1636 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "index", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1646 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 if (!wxPyCheckForApp()) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= SWIG_FromInt((int)result
);
1663 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1667 PyObject
* obj0
= 0 ;
1669 (char *) "index", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1673 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 if (!wxPyCheckForApp()) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1692 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1701 if (!wxPyCheckForApp()) SWIG_fail
;
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 result
= (int)wxSystemSettings::GetScreenType();
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 resultobj
= SWIG_FromInt((int)result
);
1715 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
*resultobj
;
1718 PyObject
* obj0
= 0 ;
1720 (char *) "screen", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1724 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 if (!wxPyCheckForApp()) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 Py_INCREF(Py_None
); resultobj
= Py_None
;
1741 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1744 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1746 return Py_BuildValue((char *)"");
1748 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxSystemOptions
*result
;
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 result
= (wxSystemOptions
*)new wxSystemOptions();
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1770 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxString
*arg1
= 0 ;
1773 wxString
*arg2
= 0 ;
1774 bool temp1
= False
;
1775 bool temp2
= False
;
1776 PyObject
* obj0
= 0 ;
1777 PyObject
* obj1
= 0 ;
1779 (char *) "name",(char *) "value", NULL
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1784 arg1
= wxString_in_helper(obj0
);
1785 if (arg1
== NULL
) SWIG_fail
;
1789 arg2
= wxString_in_helper(obj1
);
1790 if (arg2
== NULL
) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 Py_INCREF(Py_None
); resultobj
= Py_None
;
1823 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxString
*arg1
= 0 ;
1827 bool temp1
= False
;
1828 PyObject
* obj0
= 0 ;
1829 PyObject
* obj1
= 0 ;
1831 (char *) "name",(char *) "value", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1836 arg1
= wxString_in_helper(obj0
);
1837 if (arg1
== NULL
) SWIG_fail
;
1840 arg2
= (int) SWIG_AsInt(obj1
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxString
*arg1
= 0 ;
1868 bool temp1
= False
;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "name", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1876 arg1
= wxString_in_helper(obj0
);
1877 if (arg1
== NULL
) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1908 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxString
*arg1
= 0 ;
1912 bool temp1
= False
;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "name", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1920 arg1
= wxString_in_helper(obj0
);
1921 if (arg1
== NULL
) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 resultobj
= SWIG_FromInt((int)result
);
1946 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxString
*arg1
= 0 ;
1950 bool temp1
= False
;
1951 PyObject
* obj0
= 0 ;
1953 (char *) "name", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1958 arg1
= wxString_in_helper(obj0
);
1959 if (arg1
== NULL
) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1986 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1989 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1991 return Py_BuildValue((char *)"");
1993 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1994 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1999 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2004 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2006 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2013 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2014 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2019 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2024 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2026 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2033 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2034 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2039 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2044 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2046 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2053 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 result
= (long)wxNewId();
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2068 resultobj
= SWIG_FromLong((long)result
);
2075 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2078 PyObject
* obj0
= 0 ;
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2084 arg1
= (long) SWIG_AsLong(obj0
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2093 Py_INCREF(Py_None
); resultobj
= Py_None
;
2100 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (long)wxGetCurrentId();
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= SWIG_FromLong((long)result
);
2122 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2130 if (!wxPyCheckForApp()) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 Py_INCREF(Py_None
); resultobj
= Py_None
;
2144 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2152 if (!wxPyCheckForApp()) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 bool arg1
= (bool) True
;
2170 PyObject
* obj0
= 0 ;
2172 (char *) "resetTimer", NULL
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2177 arg1
= (bool) SWIG_AsBool(obj0
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= (long)wxGetElapsedTime(arg1
);
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= SWIG_FromLong((long)result
);
2194 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 int *arg1
= (int *) 0 ;
2197 int *arg2
= (int *) 0 ;
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2208 if (!wxPyCheckForApp()) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxGetMousePosition(arg1
,arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2218 resultobj
= t_output_helper(resultobj
,o
);
2221 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2222 resultobj
= t_output_helper(resultobj
,o
);
2230 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= (bool)wxIsBusy();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2254 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2282 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2285 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2287 bool temp1
= False
;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "command", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2296 arg1
= wxString_in_helper(obj0
);
2297 if (arg1
== NULL
) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 result
= (bool)wxShell((wxString
const &)*arg1
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2325 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 int *arg1
= (int *) 0 ;
2349 int *arg2
= (int *) 0 ;
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (int)wxGetOsVersion(arg1
,arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 resultobj
= SWIG_FromInt((int)result
);
2369 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2370 resultobj
= t_output_helper(resultobj
,o
);
2373 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2374 resultobj
= t_output_helper(resultobj
,o
);
2382 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 result
= wxGetOsDescription();
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2410 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2420 result
= (long)wxGetFreeMemory();
2422 wxPyEndAllowThreads(__tstate
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2425 resultobj
= SWIG_FromLong((long)result
);
2432 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
*resultobj
;
2436 PyObject
* obj0
= 0 ;
2438 (char *) "wFlags", NULL
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2442 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 if (!wxPyCheckForApp()) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2461 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
*resultobj
;
2464 PyObject
* obj0
= 0 ;
2466 (char *) "secs", NULL
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2470 arg1
= (int) SWIG_AsInt(obj0
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 Py_INCREF(Py_None
); resultobj
= Py_None
;
2486 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 unsigned long arg1
;
2489 PyObject
* obj0
= 0 ;
2491 (char *) "milliseconds", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2495 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "enable", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2520 arg1
= (bool) SWIG_AsBool(obj0
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 wxEnableTopLevelWindows(arg1
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxString
*arg1
= 0 ;
2540 bool temp1
= False
;
2541 PyObject
* obj0
= 0 ;
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2548 arg1
= wxString_in_helper(obj0
);
2549 if (arg1
== NULL
) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2580 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= wxGetEmailAddress();
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2608 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= wxGetHostName();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2636 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= wxGetFullHostName();
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2664 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 result
= wxGetUserId();
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2692 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= wxGetUserName();
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2720 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= wxGetHomeDir();
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2748 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2751 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2753 bool temp1
= False
;
2754 PyObject
* obj0
= 0 ;
2756 (char *) "user", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2762 arg1
= wxString_in_helper(obj0
);
2763 if (arg1
== NULL
) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= wxGetUserHome((wxString
const &)*arg1
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2795 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 unsigned long result
;
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 result
= (unsigned long)wxGetProcessId();
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2817 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 Py_INCREF(Py_None
); resultobj
= Py_None
;
2838 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2841 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2842 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2843 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2846 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2847 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2848 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2849 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2850 int arg6
= (int) 0 ;
2851 wxWindow
*arg7
= (wxWindow
*) NULL
;
2852 int arg8
= (int) -1 ;
2853 int arg9
= (int) -1 ;
2855 bool temp1
= False
;
2856 bool temp2
= False
;
2857 bool temp3
= False
;
2858 bool temp4
= False
;
2859 bool temp5
= False
;
2860 PyObject
* obj0
= 0 ;
2861 PyObject
* obj1
= 0 ;
2862 PyObject
* obj2
= 0 ;
2863 PyObject
* obj3
= 0 ;
2864 PyObject
* obj4
= 0 ;
2865 PyObject
* obj5
= 0 ;
2866 PyObject
* obj6
= 0 ;
2867 PyObject
* obj7
= 0 ;
2868 PyObject
* obj8
= 0 ;
2870 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2876 arg1
= wxString_in_helper(obj0
);
2877 if (arg1
== NULL
) SWIG_fail
;
2883 arg2
= wxString_in_helper(obj1
);
2884 if (arg2
== NULL
) SWIG_fail
;
2890 arg3
= wxString_in_helper(obj2
);
2891 if (arg3
== NULL
) SWIG_fail
;
2897 arg4
= wxString_in_helper(obj3
);
2898 if (arg4
== NULL
) SWIG_fail
;
2904 arg5
= wxString_in_helper(obj4
);
2905 if (arg5
== NULL
) SWIG_fail
;
2910 arg6
= (int) SWIG_AsInt(obj5
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2918 arg8
= (int) SWIG_AsInt(obj7
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2922 arg9
= (int) SWIG_AsInt(obj8
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 if (!wxPyCheckForApp()) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2986 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxString
*arg1
= 0 ;
2989 wxString
*arg2
= 0 ;
2990 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2992 wxWindow
*arg4
= (wxWindow
*) NULL
;
2994 bool temp1
= False
;
2995 bool temp2
= False
;
2996 bool temp3
= False
;
2997 PyObject
* obj0
= 0 ;
2998 PyObject
* obj1
= 0 ;
2999 PyObject
* obj2
= 0 ;
3000 PyObject
* obj3
= 0 ;
3002 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3007 arg1
= wxString_in_helper(obj0
);
3008 if (arg1
== NULL
) SWIG_fail
;
3012 arg2
= wxString_in_helper(obj1
);
3013 if (arg2
== NULL
) SWIG_fail
;
3018 arg3
= wxString_in_helper(obj2
);
3019 if (arg3
== NULL
) SWIG_fail
;
3024 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 if (!wxPyCheckForApp()) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3072 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxString
*arg1
= 0 ;
3075 wxString
*arg2
= 0 ;
3076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3078 wxWindow
*arg4
= (wxWindow
*) NULL
;
3080 bool temp1
= False
;
3081 bool temp2
= False
;
3082 bool temp3
= False
;
3083 PyObject
* obj0
= 0 ;
3084 PyObject
* obj1
= 0 ;
3085 PyObject
* obj2
= 0 ;
3086 PyObject
* obj3
= 0 ;
3088 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3093 arg1
= wxString_in_helper(obj0
);
3094 if (arg1
== NULL
) SWIG_fail
;
3098 arg2
= wxString_in_helper(obj1
);
3099 if (arg2
== NULL
) SWIG_fail
;
3104 arg3
= wxString_in_helper(obj2
);
3105 if (arg3
== NULL
) SWIG_fail
;
3110 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 if (!wxPyCheckForApp()) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3158 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3161 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3162 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3163 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3164 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3167 wxWindow
*arg5
= (wxWindow
*) NULL
;
3169 bool temp1
= False
;
3170 bool temp2
= False
;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3174 PyObject
* obj2
= 0 ;
3175 PyObject
* obj3
= 0 ;
3176 PyObject
* obj4
= 0 ;
3178 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3184 arg1
= wxString_in_helper(obj0
);
3185 if (arg1
== NULL
) SWIG_fail
;
3191 arg2
= wxString_in_helper(obj1
);
3192 if (arg2
== NULL
) SWIG_fail
;
3197 arg3
= (long) SWIG_AsLong(obj2
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3207 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 if (!wxPyCheckForApp()) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3247 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxString
*arg1
= 0 ;
3250 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3251 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3254 wxWindow
*arg4
= (wxWindow
*) NULL
;
3255 int arg5
= (int) -1 ;
3256 int arg6
= (int) -1 ;
3257 bool arg7
= (bool) True
;
3259 bool temp1
= False
;
3260 bool temp2
= False
;
3261 bool temp3
= False
;
3262 PyObject
* obj0
= 0 ;
3263 PyObject
* obj1
= 0 ;
3264 PyObject
* obj2
= 0 ;
3265 PyObject
* obj3
= 0 ;
3266 PyObject
* obj4
= 0 ;
3267 PyObject
* obj5
= 0 ;
3268 PyObject
* obj6
= 0 ;
3270 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3275 arg1
= wxString_in_helper(obj0
);
3276 if (arg1
== NULL
) SWIG_fail
;
3281 arg2
= wxString_in_helper(obj1
);
3282 if (arg2
== NULL
) SWIG_fail
;
3288 arg3
= wxString_in_helper(obj2
);
3289 if (arg3
== NULL
) SWIG_fail
;
3294 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg5
= (int) SWIG_AsInt(obj4
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3302 arg6
= (int) SWIG_AsInt(obj5
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3306 arg7
= (bool) SWIG_AsBool(obj6
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3310 if (!wxPyCheckForApp()) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3354 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxString
*arg1
= 0 ;
3357 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3358 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3359 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3360 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3361 wxWindow
*arg4
= (wxWindow
*) NULL
;
3363 bool temp1
= False
;
3364 bool temp2
= False
;
3365 bool temp3
= False
;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3368 PyObject
* obj2
= 0 ;
3369 PyObject
* obj3
= 0 ;
3371 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3376 arg1
= wxString_in_helper(obj0
);
3377 if (arg1
== NULL
) SWIG_fail
;
3382 arg2
= wxString_in_helper(obj1
);
3383 if (arg2
== NULL
) SWIG_fail
;
3389 arg3
= wxString_in_helper(obj2
);
3390 if (arg3
== NULL
) SWIG_fail
;
3395 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3399 if (!wxPyCheckForApp()) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3443 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxString
*arg1
= 0 ;
3446 wxString
*arg2
= 0 ;
3448 wxString
*arg4
= (wxString
*) 0 ;
3449 wxWindow
*arg5
= (wxWindow
*) NULL
;
3450 int arg6
= (int) -1 ;
3451 int arg7
= (int) -1 ;
3452 bool arg8
= (bool) True
;
3453 int arg9
= (int) 150 ;
3454 int arg10
= (int) 200 ;
3456 bool temp1
= False
;
3457 bool temp2
= False
;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3460 PyObject
* obj2
= 0 ;
3461 PyObject
* obj3
= 0 ;
3462 PyObject
* obj4
= 0 ;
3463 PyObject
* obj5
= 0 ;
3464 PyObject
* obj6
= 0 ;
3465 PyObject
* obj7
= 0 ;
3466 PyObject
* obj8
= 0 ;
3468 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3473 arg1
= wxString_in_helper(obj0
);
3474 if (arg1
== NULL
) SWIG_fail
;
3478 arg2
= wxString_in_helper(obj1
);
3479 if (arg2
== NULL
) SWIG_fail
;
3483 arg3
= PyList_Size(obj2
);
3484 arg4
= wxString_LIST_helper(obj2
);
3485 if (arg4
== NULL
) SWIG_fail
;
3488 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3492 arg6
= (int) SWIG_AsInt(obj4
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3496 arg7
= (int) SWIG_AsInt(obj5
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3500 arg8
= (bool) SWIG_AsBool(obj6
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 arg9
= (int) SWIG_AsInt(obj7
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 arg10
= (int) SWIG_AsInt(obj8
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 if (!wxPyCheckForApp()) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3535 if (arg4
) delete [] arg4
;
3548 if (arg4
) delete [] arg4
;
3554 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxString
*arg1
= 0 ;
3557 wxString
*arg2
= 0 ;
3559 wxString
*arg4
= (wxString
*) 0 ;
3560 wxWindow
*arg5
= (wxWindow
*) NULL
;
3561 int arg6
= (int) -1 ;
3562 int arg7
= (int) -1 ;
3563 bool arg8
= (bool) True
;
3564 int arg9
= (int) 150 ;
3565 int arg10
= (int) 200 ;
3567 bool temp1
= False
;
3568 bool temp2
= False
;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3571 PyObject
* obj2
= 0 ;
3572 PyObject
* obj3
= 0 ;
3573 PyObject
* obj4
= 0 ;
3574 PyObject
* obj5
= 0 ;
3575 PyObject
* obj6
= 0 ;
3576 PyObject
* obj7
= 0 ;
3577 PyObject
* obj8
= 0 ;
3579 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3584 arg1
= wxString_in_helper(obj0
);
3585 if (arg1
== NULL
) SWIG_fail
;
3589 arg2
= wxString_in_helper(obj1
);
3590 if (arg2
== NULL
) SWIG_fail
;
3594 arg3
= PyList_Size(obj2
);
3595 arg4
= wxString_LIST_helper(obj2
);
3596 if (arg4
== NULL
) SWIG_fail
;
3599 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3603 arg6
= (int) SWIG_AsInt(obj4
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 arg7
= (int) SWIG_AsInt(obj5
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 arg8
= (bool) SWIG_AsBool(obj6
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 arg9
= (int) SWIG_AsInt(obj7
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 arg10
= (int) SWIG_AsInt(obj8
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3623 if (!wxPyCheckForApp()) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= SWIG_FromInt((int)result
);
3640 if (arg4
) delete [] arg4
;
3653 if (arg4
) delete [] arg4
;
3659 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxString
*arg1
= 0 ;
3662 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3663 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3664 int arg3
= (int) wxOK
|wxCENTRE
;
3665 wxWindow
*arg4
= (wxWindow
*) NULL
;
3666 int arg5
= (int) -1 ;
3667 int arg6
= (int) -1 ;
3669 bool temp1
= False
;
3670 bool temp2
= False
;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3673 PyObject
* obj2
= 0 ;
3674 PyObject
* obj3
= 0 ;
3675 PyObject
* obj4
= 0 ;
3676 PyObject
* obj5
= 0 ;
3678 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3683 arg1
= wxString_in_helper(obj0
);
3684 if (arg1
== NULL
) SWIG_fail
;
3689 arg2
= wxString_in_helper(obj1
);
3690 if (arg2
== NULL
) SWIG_fail
;
3695 arg3
= (int) SWIG_AsInt(obj2
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 arg5
= (int) SWIG_AsInt(obj4
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3707 arg6
= (int) SWIG_AsInt(obj5
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 if (!wxPyCheckForApp()) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 resultobj
= SWIG_FromInt((int)result
);
3741 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxString
*arg1
= 0 ;
3744 wxString
*arg2
= 0 ;
3745 wxString
*arg3
= 0 ;
3747 long arg5
= (long) 0 ;
3748 long arg6
= (long) 100 ;
3749 wxWindow
*arg7
= (wxWindow
*) NULL
;
3750 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3751 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3753 bool temp1
= False
;
3754 bool temp2
= False
;
3755 bool temp3
= False
;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3759 PyObject
* obj2
= 0 ;
3760 PyObject
* obj3
= 0 ;
3761 PyObject
* obj4
= 0 ;
3762 PyObject
* obj5
= 0 ;
3763 PyObject
* obj6
= 0 ;
3764 PyObject
* obj7
= 0 ;
3766 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3771 arg1
= wxString_in_helper(obj0
);
3772 if (arg1
== NULL
) SWIG_fail
;
3776 arg2
= wxString_in_helper(obj1
);
3777 if (arg2
== NULL
) SWIG_fail
;
3781 arg3
= wxString_in_helper(obj2
);
3782 if (arg3
== NULL
) SWIG_fail
;
3785 arg4
= (long) SWIG_AsLong(obj3
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 arg5
= (long) SWIG_AsLong(obj4
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 arg6
= (long) SWIG_AsLong(obj5
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3796 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3806 if (!wxPyCheckForApp()) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_FromLong((long)result
);
3844 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3853 if (!wxPyCheckForApp()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (bool)wxColourDisplay();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3869 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3878 if (!wxPyCheckForApp()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (int)wxDisplayDepth();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_FromInt((int)result
);
3892 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3901 if (!wxPyCheckForApp()) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (int)wxGetDisplayDepth();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_FromInt((int)result
);
3915 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 int *arg1
= (int *) 0 ;
3918 int *arg2
= (int *) 0 ;
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3929 if (!wxPyCheckForApp()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 wxDisplaySize(arg1
,arg2
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3938 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3939 resultobj
= t_output_helper(resultobj
,o
);
3942 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3943 resultobj
= t_output_helper(resultobj
,o
);
3951 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3960 if (!wxPyCheckForApp()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= wxGetDisplaySize();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3969 resultptr
= new wxSize((wxSize
&) result
);
3970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3978 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 int *arg1
= (int *) 0 ;
3981 int *arg2
= (int *) 0 ;
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3992 if (!wxPyCheckForApp()) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 wxDisplaySizeMM(arg1
,arg2
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4002 resultobj
= t_output_helper(resultobj
,o
);
4005 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4006 resultobj
= t_output_helper(resultobj
,o
);
4014 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4023 if (!wxPyCheckForApp()) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= wxGetDisplaySizeMM();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4032 resultptr
= new wxSize((wxSize
&) result
);
4033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4041 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 int *arg1
= (int *) 0 ;
4044 int *arg2
= (int *) 0 ;
4045 int *arg3
= (int *) 0 ;
4046 int *arg4
= (int *) 0 ;
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4061 if (!wxPyCheckForApp()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4070 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4071 resultobj
= t_output_helper(resultobj
,o
);
4074 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4075 resultobj
= t_output_helper(resultobj
,o
);
4078 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4079 resultobj
= t_output_helper(resultobj
,o
);
4082 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4083 resultobj
= t_output_helper(resultobj
,o
);
4091 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4100 if (!wxPyCheckForApp()) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= wxGetClientDisplayRect();
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4109 resultptr
= new wxRect((wxRect
&) result
);
4110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4118 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxCursor
*arg1
= 0 ;
4121 PyObject
* obj0
= 0 ;
4123 (char *) "cursor", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4131 PyErr_SetString(PyExc_TypeError
,"null reference");
4135 if (!wxPyCheckForApp()) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 Py_INCREF(Py_None
); resultobj
= Py_None
;
4149 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4152 PyObject
* obj0
= 0 ;
4154 (char *) "cursor", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4163 if (!wxPyCheckForApp()) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 wxBeginBusyCursor(arg1
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 Py_INCREF(Py_None
); resultobj
= Py_None
;
4177 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4186 if (!wxPyCheckForApp()) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxWindow
*)wxGetActiveWindow();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= wxPyMake_wxObject(result
);
4202 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4207 PyObject
* obj0
= 0 ;
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4215 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4218 if (!wxPyCheckForApp()) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= wxPyMake_wxObject(result
);
4234 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4239 PyObject
* obj0
= 0 ;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4247 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4250 if (!wxPyCheckForApp()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= wxPyMake_wxObject(result
);
4266 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxWindow
*arg1
= (wxWindow
*) 0 ;
4270 PyObject
* obj0
= 0 ;
4272 (char *) "win", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4279 if (!wxPyCheckForApp()) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= wxPyMake_wxObject(result
);
4295 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "key", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4305 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 if (!wxPyCheckForApp()) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4324 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4332 if (!wxPyCheckForApp()) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 wxWakeUpMainThread();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 Py_INCREF(Py_None
); resultobj
= Py_None
;
4346 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4354 if (!wxPyCheckForApp()) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4376 if (!wxPyCheckForApp()) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxMutexGuiLocker
*result
;
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4399 if (!wxPyCheckForApp()) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4413 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4441 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4443 return Py_BuildValue((char *)"");
4445 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (bool)wxThread_IsMain();
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4469 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxString
*arg1
= 0 ;
4473 bool temp1
= False
;
4474 PyObject
* obj0
= 0 ;
4476 (char *) "tip", NULL
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4481 arg1
= wxString_in_helper(obj0
);
4482 if (arg1
== NULL
) SWIG_fail
;
4486 if (!wxPyCheckForApp()) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= wxPyMake_wxObject(result
);
4510 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4513 wxString
*arg2
= 0 ;
4514 bool temp2
= False
;
4515 PyObject
* obj0
= 0 ;
4516 PyObject
* obj1
= 0 ;
4518 (char *) "self",(char *) "tip", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4525 arg2
= wxString_in_helper(obj1
);
4526 if (arg2
== NULL
) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 (arg1
)->SetTip((wxString
const &)*arg2
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 Py_INCREF(Py_None
); resultobj
= Py_None
;
4551 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4557 (char *) "self", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 result
= (arg1
)->GetTip();
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4583 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4589 (char *) "self", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (wxWindow
*)(arg1
)->GetWindow();
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= wxPyMake_wxObject(result
);
4611 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "flag", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4620 arg1
= (bool) SWIG_AsBool(obj0
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxToolTip::Enable(arg1
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 Py_INCREF(Py_None
); resultobj
= Py_None
;
4636 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "milliseconds", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4645 arg1
= (long) SWIG_AsLong(obj0
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxToolTip::SetDelay(arg1
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 Py_INCREF(Py_None
); resultobj
= Py_None
;
4661 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4664 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4666 return Py_BuildValue((char *)"");
4668 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxWindow
*arg1
= (wxWindow
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4677 (char *) "window",(char *) "size", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4685 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4688 if (!wxPyCheckForApp()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4702 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxCaret
*arg1
= (wxCaret
*) 0 ;
4705 PyObject
* obj0
= 0 ;
4707 (char *) "self", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 Py_INCREF(Py_None
); resultobj
= Py_None
;
4727 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxCaret
*arg1
= (wxCaret
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)(arg1
)->IsOk();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4755 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxCaret
*arg1
= (wxCaret
*) 0 ;
4759 PyObject
* obj0
= 0 ;
4761 (char *) "self", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (bool)(arg1
)->IsVisible();
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4783 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxCaret
*arg1
= (wxCaret
*) 0 ;
4787 PyObject
* obj0
= 0 ;
4789 (char *) "self", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (arg1
)->GetPosition();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 wxPoint
* resultptr
;
4804 resultptr
= new wxPoint((wxPoint
&) result
);
4805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4813 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxCaret
*arg1
= (wxCaret
*) 0 ;
4816 int *arg2
= (int *) 0 ;
4817 int *arg3
= (int *) 0 ;
4820 PyObject
* obj0
= 0 ;
4822 (char *) "self", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 (arg1
)->GetPosition(arg2
,arg3
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4840 resultobj
= t_output_helper(resultobj
,o
);
4843 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4844 resultobj
= t_output_helper(resultobj
,o
);
4852 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxCaret
*arg1
= (wxCaret
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4858 (char *) "self", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (arg1
)->GetSize();
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4873 resultptr
= new wxSize((wxSize
&) result
);
4874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4882 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxCaret
*arg1
= (wxCaret
*) 0 ;
4885 int *arg2
= (int *) 0 ;
4886 int *arg3
= (int *) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 (arg1
)->GetSize(arg2
,arg3
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4908 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4909 resultobj
= t_output_helper(resultobj
,o
);
4912 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4913 resultobj
= t_output_helper(resultobj
,o
);
4921 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxCaret
*arg1
= (wxCaret
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (wxWindow
*)(arg1
)->GetWindow();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= wxPyMake_wxObject(result
);
4949 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxCaret
*arg1
= (wxCaret
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 PyObject
* obj2
= 0 ;
4958 (char *) "self",(char *) "x",(char *) "y", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 arg2
= (int) SWIG_AsInt(obj1
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4966 arg3
= (int) SWIG_AsInt(obj2
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->Move(arg2
,arg3
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxCaret
*arg1
= (wxCaret
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4990 (char *) "self",(char *) "pt", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 (arg1
)->Move((wxPoint
const &)*arg2
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 Py_INCREF(Py_None
); resultobj
= Py_None
;
5014 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxCaret
*arg1
= (wxCaret
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 PyObject
* obj2
= 0 ;
5023 (char *) "self",(char *) "width",(char *) "height", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 arg2
= (int) SWIG_AsInt(obj1
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5031 arg3
= (int) SWIG_AsInt(obj2
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 (arg1
)->SetSize(arg2
,arg3
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxCaret
*arg1
= (wxCaret
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5055 (char *) "self",(char *) "size", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 (arg1
)->SetSize((wxSize
const &)*arg2
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxCaret
*arg1
= (wxCaret
*) 0 ;
5082 int arg2
= (int) True
;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5086 (char *) "self",(char *) "show", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= (int) SWIG_AsInt(obj1
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxCaret
*arg1
= (wxCaret
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5115 (char *) "self", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 Py_INCREF(Py_None
); resultobj
= Py_None
;
5135 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5138 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5140 return Py_BuildValue((char *)"");
5142 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (int)wxCaret_GetBlinkTime();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_FromInt((int)result
);
5164 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5167 PyObject
* obj0
= 0 ;
5169 (char *) "milliseconds", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5173 arg1
= (int) SWIG_AsInt(obj0
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 wxCaret_SetBlinkTime(arg1
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5192 wxBusyCursor
*result
;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "cursor", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5218 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 Py_INCREF(Py_None
); resultobj
= Py_None
;
5243 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5246 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5248 return Py_BuildValue((char *)"");
5250 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxWindow
*arg1
= (wxWindow
*) NULL
;
5253 wxWindowDisabler
*result
;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "winToSkip", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5279 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5284 (char *) "self", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5307 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5309 return Py_BuildValue((char *)"");
5311 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxString
*arg1
= 0 ;
5315 bool temp1
= False
;
5316 PyObject
* obj0
= 0 ;
5318 (char *) "message", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5323 arg1
= wxString_in_helper(obj0
);
5324 if (arg1
== NULL
) SWIG_fail
;
5328 if (!wxPyCheckForApp()) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5350 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5355 (char *) "self", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 Py_INCREF(Py_None
); resultobj
= Py_None
;
5375 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5378 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5380 return Py_BuildValue((char *)"");
5382 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxStopWatch
*result
;
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (wxStopWatch
*)new wxStopWatch();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5404 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5407 long arg2
= (long) 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "t0", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (long) SWIG_AsLong(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 (arg1
)->Start(arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 Py_INCREF(Py_None
); resultobj
= Py_None
;
5435 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
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_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5465 (char *) "self", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "self", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_FromLong((long)result
);
5511 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5516 return Py_BuildValue((char *)"");
5518 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 int arg1
= (int) 9 ;
5521 wxFileHistory
*result
;
5522 PyObject
* obj0
= 0 ;
5524 (char *) "maxFiles", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5529 arg1
= (int) SWIG_AsInt(obj0
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5546 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 Py_INCREF(Py_None
); resultobj
= Py_None
;
5571 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5574 wxString
*arg2
= 0 ;
5575 bool temp2
= False
;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "file", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5586 arg2
= wxString_in_helper(obj1
);
5587 if (arg2
== NULL
) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5617 PyObject
* obj1
= 0 ;
5619 (char *) "self",(char *) "i", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 arg2
= (int) SWIG_AsInt(obj1
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->RemoveFileFromHistory(arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_FromInt((int)result
);
5667 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5670 wxMenu
*arg2
= (wxMenu
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5672 PyObject
* obj1
= 0 ;
5674 (char *) "self",(char *) "menu", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 (arg1
)->UseMenu(arg2
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5699 wxMenu
*arg2
= (wxMenu
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5703 (char *) "self",(char *) "menu", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 (arg1
)->RemoveMenu(arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 Py_INCREF(Py_None
); resultobj
= Py_None
;
5725 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5728 wxConfigBase
*arg2
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "self",(char *) "config", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5742 PyErr_SetString(PyExc_TypeError
,"null reference");
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->Load(*arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5762 wxConfigBase
*arg2
= 0 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "config", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5776 PyErr_SetString(PyExc_TypeError
,"null reference");
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 (arg1
)->Save(*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 Py_INCREF(Py_None
); resultobj
= Py_None
;
5793 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "self", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 (arg1
)->AddFilesToMenu();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5821 wxMenu
*arg2
= (wxMenu
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "menu", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 (arg1
)->AddFilesToMenu(arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 Py_INCREF(Py_None
); resultobj
= Py_None
;
5847 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5855 (char *) "self",(char *) "i", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5861 arg2
= (int) SWIG_AsInt(obj1
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5883 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_FromInt((int)result
);
5909 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5912 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5914 return Py_BuildValue((char *)"");
5916 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxString
*arg1
= 0 ;
5919 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5920 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5921 wxSingleInstanceChecker
*result
;
5922 bool temp1
= False
;
5923 bool temp2
= False
;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5927 (char *) "name",(char *) "path", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5932 arg1
= wxString_in_helper(obj0
);
5933 if (arg1
== NULL
) SWIG_fail
;
5938 arg2
= wxString_in_helper(obj1
);
5939 if (arg2
== NULL
) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5973 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSingleInstanceChecker
*result
;
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5995 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5998 PyObject
* obj0
= 0 ;
6000 (char *) "self", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6023 wxString
*arg2
= 0 ;
6024 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6025 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6027 bool temp2
= False
;
6028 bool temp3
= False
;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 PyObject
* obj2
= 0 ;
6033 (char *) "self",(char *) "name",(char *) "path", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6040 arg2
= wxString_in_helper(obj1
);
6041 if (arg2
== NULL
) SWIG_fail
;
6046 arg3
= wxString_in_helper(obj2
);
6047 if (arg3
== NULL
) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6111 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6114 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6116 return Py_BuildValue((char *)"");
6118 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxWindow
*arg1
= (wxWindow
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 PyObject
* obj2
= 0 ;
6127 (char *) "window",(char *) "dc",(char *) "method", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6137 PyErr_SetString(PyExc_TypeError
,"null reference");
6140 arg3
= (int) SWIG_AsInt(obj2
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "self", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (arg1
)->GetTip();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6213 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6219 (char *) "self", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (size_t)(arg1
)->GetCurrentTip();
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6239 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6242 wxString
*arg2
= 0 ;
6244 bool temp2
= False
;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6248 (char *) "self",(char *) "tip", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 arg2
= wxString_in_helper(obj1
);
6256 if (arg2
== NULL
) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6287 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6290 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6292 return Py_BuildValue((char *)"");
6294 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6297 wxPyTipProvider
*result
;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "currentTip", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6304 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6320 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6323 PyObject
*arg2
= (PyObject
*) 0 ;
6324 PyObject
*arg3
= (PyObject
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 PyObject
* obj2
= 0 ;
6329 (char *) "self",(char *) "self",(char *) "_class", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 Py_INCREF(Py_None
); resultobj
= Py_None
;
6351 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6354 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6356 return Py_BuildValue((char *)"");
6358 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxWindow
*arg1
= (wxWindow
*) 0 ;
6361 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6362 bool arg3
= (bool) True
;
6364 PyObject
* obj0
= 0 ;
6365 PyObject
* obj1
= 0 ;
6366 PyObject
* obj2
= 0 ;
6368 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg3
= (bool) SWIG_AsBool(obj2
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 if (!wxPyCheckForApp()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6397 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxString
*arg1
= 0 ;
6401 wxTipProvider
*result
;
6402 bool temp1
= False
;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6406 (char *) "filename",(char *) "currentTip", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6411 arg1
= wxString_in_helper(obj0
);
6412 if (arg1
== NULL
) SWIG_fail
;
6415 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 if (!wxPyCheckForApp()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6440 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6443 int arg2
= (int) -1 ;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6448 (char *) "owner",(char *) "id", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6457 arg2
= (int) SWIG_AsInt(obj1
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6461 if (!wxPyCheckForApp()) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6475 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6480 (char *) "self", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6503 PyObject
*arg2
= (PyObject
*) 0 ;
6504 PyObject
*arg3
= (PyObject
*) 0 ;
6505 int arg4
= (int) 1 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 PyObject
* obj2
= 0 ;
6509 PyObject
* obj3
= 0 ;
6511 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 arg4
= (int) SWIG_AsInt(obj3
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 Py_INCREF(Py_None
); resultobj
= Py_None
;
6537 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6540 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6541 int arg3
= (int) -1 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6544 PyObject
* obj2
= 0 ;
6546 (char *) "self",(char *) "owner",(char *) "id", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 arg3
= (int) SWIG_AsInt(obj2
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 (arg1
)->SetOwner(arg2
,arg3
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 Py_INCREF(Py_None
); resultobj
= Py_None
;
6572 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6575 wxEvtHandler
*result
;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= wxPyMake_wxObject(result
);
6600 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6603 int arg2
= (int) -1 ;
6604 bool arg3
= (bool) False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6610 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= (int) SWIG_AsInt(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6621 arg3
= (bool) SWIG_AsBool(obj2
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6640 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 Py_INCREF(Py_None
); resultobj
= Py_None
;
6665 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_FromInt((int)result
);
6719 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6725 (char *) "self", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6747 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6753 (char *) "self", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_FromInt((int)result
);
6773 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6776 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6778 return Py_BuildValue((char *)"");
6780 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 int arg1
= (int) 0 ;
6783 int arg2
= (int) 0 ;
6784 wxTimerEvent
*result
;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6788 (char *) "timerid",(char *) "interval", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6793 arg1
= (int) SWIG_AsInt(obj0
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6797 arg2
= (int) SWIG_AsInt(obj1
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6814 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6820 (char *) "self", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_FromInt((int)result
);
6840 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6845 return Py_BuildValue((char *)"");
6847 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6848 PyObject
*resultobj
;
6850 wxTimerRunner
*result
;
6851 PyObject
* obj0
= 0 ;
6853 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6858 PyErr_SetString(PyExc_TypeError
,"null reference");
6862 if (!wxPyCheckForApp()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6876 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6877 PyObject
*resultobj
;
6880 bool arg3
= (bool) False
;
6881 wxTimerRunner
*result
;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 PyObject
* obj2
= 0 ;
6886 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6891 PyErr_SetString(PyExc_TypeError
,"null reference");
6894 arg2
= (int) SWIG_AsInt(obj1
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 arg3
= (bool) SWIG_AsBool(obj2
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 if (!wxPyCheckForApp()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6915 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6920 argc
= PyObject_Length(args
);
6921 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6922 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6928 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6936 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6939 if ((argc
>= 2) && (argc
<= 3)) {
6943 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6951 _v
= SWIG_CheckInt(argv
[1]);
6954 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6956 _v
= SWIG_CheckBool(argv
[2]);
6958 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6964 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6969 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 Py_INCREF(Py_None
); resultobj
= Py_None
;
6994 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6998 bool arg3
= (bool) False
;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7001 PyObject
* obj2
= 0 ;
7003 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 arg2
= (int) SWIG_AsInt(obj1
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 arg3
= (bool) SWIG_AsBool(obj2
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->Start(arg2
,arg3
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7032 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7034 return Py_BuildValue((char *)"");
7036 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (wxLog
*)new wxLog();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7058 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (bool)wxLog::IsEnabled();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7082 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 bool arg1
= (bool) True
;
7086 PyObject
* obj0
= 0 ;
7088 (char *) "doIt", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7093 arg1
= (bool) SWIG_AsBool(obj0
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (bool)wxLog::EnableLogging(arg1
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7112 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7115 wxChar
*arg2
= (wxChar
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 PyObject
* obj2
= 0 ;
7121 (char *) "level",(char *) "szString",(char *) "t", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7125 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxLog
*arg1
= (wxLog
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7150 (char *) "self", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxLog::FlushActive();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 Py_INCREF(Py_None
); resultobj
= Py_None
;
7191 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (wxLog
*)wxLog::GetActiveTarget();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7213 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxLog
*arg1
= (wxLog
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7219 (char *) "pLogger", NULL
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7239 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 Py_INCREF(Py_None
); resultobj
= Py_None
;
7260 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7281 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 bool arg1
= (bool) True
;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "bVerbose", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7291 arg1
= (bool) SWIG_AsBool(obj0
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxLog::SetVerbose(arg1
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7311 PyObject
* obj0
= 0 ;
7313 (char *) "logLevel", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7317 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxLog::SetLogLevel(arg1
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 wxLog::DontCreateOnDemand();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 Py_INCREF(Py_None
); resultobj
= Py_None
;
7354 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "ulMask", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7363 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 wxLog::SetTraceMask(arg1
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxString
*arg1
= 0 ;
7382 bool temp1
= False
;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "str", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7390 arg1
= wxString_in_helper(obj0
);
7391 if (arg1
== NULL
) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 wxLog::AddTraceMask((wxString
const &)*arg1
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxString
*arg1
= 0 ;
7419 bool temp1
= False
;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "str", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7427 arg1
= wxString_in_helper(obj0
);
7428 if (arg1
== NULL
) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxLog::ClearTraceMasks();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxArrayString
*result
;
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7486 result
= (wxArrayString
*) &_result_ref
;
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= wxArrayString2PyList_helper(*result
);
7501 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxChar
*arg1
= (wxChar
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxLog::SetTimestamp((wxChar
const *)arg1
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (bool)wxLog::GetVerbose();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7550 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (wxTraceMask
)wxLog::GetTraceMask();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7572 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxChar
*arg1
= (wxChar
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7578 (char *) "mask", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7600 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (wxLogLevel
)wxLog::GetLogLevel();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7622 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (wxChar
*)wxLog::GetTimestamp();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7644 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= Log_TimeStamp();
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7672 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxLog
*arg1
= (wxLog
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 wxLog_Destroy(arg1
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 Py_INCREF(Py_None
); resultobj
= Py_None
;
7697 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7700 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7702 return Py_BuildValue((char *)"");
7704 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxLogStderr
*result
;
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxLogStderr
*)new wxLogStderr();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7726 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7729 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7731 return Py_BuildValue((char *)"");
7733 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7736 wxLogTextCtrl
*result
;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "pTextCtrl", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7759 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7762 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7764 return Py_BuildValue((char *)"");
7766 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (wxLogGui
*)new wxLogGui();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7788 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7791 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7793 return Py_BuildValue((char *)"");
7795 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxFrame
*arg1
= (wxFrame
*) 0 ;
7798 wxString
*arg2
= 0 ;
7799 bool arg3
= (bool) True
;
7800 bool arg4
= (bool) True
;
7801 wxLogWindow
*result
;
7802 bool temp2
= False
;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 PyObject
* obj2
= 0 ;
7806 PyObject
* obj3
= 0 ;
7808 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 arg2
= wxString_in_helper(obj1
);
7816 if (arg2
== NULL
) SWIG_fail
;
7820 arg3
= (bool) SWIG_AsBool(obj2
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7824 arg4
= (bool) SWIG_AsBool(obj3
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7849 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7852 bool arg2
= (bool) True
;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "bShow", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 arg2
= (bool) SWIG_AsBool(obj1
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 Py_INCREF(Py_None
); resultobj
= Py_None
;
7880 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "self", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= wxPyMake_wxObject(result
);
7908 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7934 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7962 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "bDoPass", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7975 arg2
= (bool) SWIG_AsBool(obj1
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 (arg1
)->PassMessages(arg2
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7994 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7996 return Py_BuildValue((char *)"");
7998 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxLog
*arg1
= (wxLog
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8004 (char *) "logger", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (wxLogChain
*)new wxLogChain(arg1
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8024 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8027 wxLog
*arg2
= (wxLog
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8031 (char *) "self",(char *) "logger", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 (arg1
)->SetLog(arg2
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 Py_INCREF(Py_None
); resultobj
= Py_None
;
8053 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8060 (char *) "self",(char *) "bDoPass", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 arg2
= (bool) SWIG_AsBool(obj1
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 (arg1
)->PassMessages(arg2
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 Py_INCREF(Py_None
); resultobj
= Py_None
;
8082 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (bool)(arg1
)->IsPassingMessages();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8110 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= (wxLog
*)(arg1
)->GetOldLog();
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8136 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8139 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8141 return Py_BuildValue((char *)"");
8143 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 unsigned long result
;
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (unsigned long)wxSysErrorCode();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8165 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 unsigned long arg1
= (unsigned long) 0 ;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "nErrCode", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8176 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= wxSysErrorMsg(arg1
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8199 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxString
*arg1
= 0 ;
8202 bool temp1
= False
;
8203 PyObject
* obj0
= 0 ;
8205 (char *) "msg", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8210 arg1
= wxString_in_helper(obj0
);
8211 if (arg1
== NULL
) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 wxLogFatalError((wxString
const &)*arg1
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 Py_INCREF(Py_None
); resultobj
= Py_None
;
8236 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxString
*arg1
= 0 ;
8239 bool temp1
= False
;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "msg", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8247 arg1
= wxString_in_helper(obj0
);
8248 if (arg1
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 wxLogError((wxString
const &)*arg1
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxString
*arg1
= 0 ;
8276 bool temp1
= False
;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "msg", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8284 arg1
= wxString_in_helper(obj0
);
8285 if (arg1
== NULL
) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 wxLogWarning((wxString
const &)*arg1
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 Py_INCREF(Py_None
); resultobj
= Py_None
;
8310 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxString
*arg1
= 0 ;
8313 bool temp1
= False
;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "msg", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8321 arg1
= wxString_in_helper(obj0
);
8322 if (arg1
== NULL
) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 wxLogMessage((wxString
const &)*arg1
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8347 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxString
*arg1
= 0 ;
8350 bool temp1
= False
;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "msg", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8358 arg1
= wxString_in_helper(obj0
);
8359 if (arg1
== NULL
) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 wxLogInfo((wxString
const &)*arg1
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 Py_INCREF(Py_None
); resultobj
= Py_None
;
8384 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxString
*arg1
= 0 ;
8387 bool temp1
= False
;
8388 PyObject
* obj0
= 0 ;
8390 (char *) "msg", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8395 arg1
= wxString_in_helper(obj0
);
8396 if (arg1
== NULL
) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 wxLogDebug((wxString
const &)*arg1
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 Py_INCREF(Py_None
); resultobj
= Py_None
;
8421 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxString
*arg1
= 0 ;
8424 bool temp1
= False
;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "msg", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8432 arg1
= wxString_in_helper(obj0
);
8433 if (arg1
== NULL
) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 wxLogVerbose((wxString
const &)*arg1
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 Py_INCREF(Py_None
); resultobj
= Py_None
;
8458 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxString
*arg1
= 0 ;
8461 bool temp1
= False
;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "msg", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8469 arg1
= wxString_in_helper(obj0
);
8470 if (arg1
== NULL
) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 wxLogStatus((wxString
const &)*arg1
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8495 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxFrame
*arg1
= (wxFrame
*) 0 ;
8498 wxString
*arg2
= 0 ;
8499 bool temp2
= False
;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8503 (char *) "pFrame",(char *) "msg", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 arg2
= wxString_in_helper(obj1
);
8511 if (arg2
== NULL
) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8536 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxString
*arg1
= 0 ;
8539 bool temp1
= False
;
8540 PyObject
* obj0
= 0 ;
8542 (char *) "msg", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8547 arg1
= wxString_in_helper(obj0
);
8548 if (arg1
== NULL
) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 wxLogSysError((wxString
const &)*arg1
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8574 PyObject
*resultobj
;
8575 unsigned long arg1
;
8576 wxString
*arg2
= 0 ;
8577 bool temp2
= False
;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8581 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8582 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 arg2
= wxString_in_helper(obj1
);
8586 if (arg2
== NULL
) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8612 PyObject
*resultobj
;
8613 wxString
*arg1
= 0 ;
8614 wxString
*arg2
= 0 ;
8615 bool temp1
= False
;
8616 bool temp2
= False
;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8620 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8622 arg1
= wxString_in_helper(obj0
);
8623 if (arg1
== NULL
) SWIG_fail
;
8627 arg2
= wxString_in_helper(obj1
);
8628 if (arg2
== NULL
) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8661 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8666 argc
= PyObject_Length(args
);
8667 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8668 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8673 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8677 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8680 return _wrap_LogTrace__SWIG_1(self
,args
);
8686 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8689 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8692 return _wrap_LogTrace__SWIG_0(self
,args
);
8697 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8702 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 unsigned long arg1
;
8705 wxString
*arg2
= 0 ;
8706 bool temp2
= False
;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "level",(char *) "msg", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 arg2
= wxString_in_helper(obj1
);
8718 if (arg2
== NULL
) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxString
*arg1
= 0 ;
8746 wxString
*arg2
= 0 ;
8747 bool temp1
= False
;
8748 bool temp2
= False
;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8752 (char *) "title",(char *) "text", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8757 arg1
= wxString_in_helper(obj0
);
8758 if (arg1
== NULL
) SWIG_fail
;
8762 arg2
= wxString_in_helper(obj1
);
8763 if (arg2
== NULL
) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (wxLogNull
*)new wxLogNull();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8818 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "self", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 Py_INCREF(Py_None
); resultobj
= Py_None
;
8843 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8846 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8848 return Py_BuildValue((char *)"");
8850 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (wxPyLog
*)new wxPyLog();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8872 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8875 PyObject
*arg2
= (PyObject
*) 0 ;
8876 PyObject
*arg3
= (PyObject
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8879 PyObject
* obj2
= 0 ;
8881 (char *) "self",(char *) "self",(char *) "_class", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8906 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8908 return Py_BuildValue((char *)"");
8910 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8913 int arg2
= (int) wxSIGTERM
;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8918 (char *) "pid",(char *) "sig", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8922 arg1
= (int) SWIG_AsInt(obj0
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_FromInt((int)result
);
8942 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8946 PyObject
* obj0
= 0 ;
8948 (char *) "pid", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8952 arg1
= (int) SWIG_AsInt(obj0
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (bool)wxPyProcess::Exists(arg1
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxString
*arg1
= 0 ;
8973 int arg2
= (int) wxEXEC_ASYNC
;
8974 wxPyProcess
*result
;
8975 bool temp1
= False
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "cmd",(char *) "flags", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8984 arg1
= wxString_in_helper(obj0
);
8985 if (arg1
== NULL
) SWIG_fail
;
8989 arg2
= (int) SWIG_AsInt(obj1
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9014 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9017 int arg2
= (int) -1 ;
9018 wxPyProcess
*result
;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9022 (char *) "parent",(char *) "id", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9031 arg2
= (int) SWIG_AsInt(obj1
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9048 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9051 PyObject
*arg2
= (PyObject
*) 0 ;
9052 PyObject
*arg3
= (PyObject
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9055 PyObject
* obj2
= 0 ;
9057 (char *) "self",(char *) "self",(char *) "_class", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9086 PyObject
* obj2
= 0 ;
9088 (char *) "self",(char *) "pid",(char *) "status", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 arg2
= (int) SWIG_AsInt(obj1
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9096 arg3
= (int) SWIG_AsInt(obj2
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->base_OnTerminate(arg2
,arg3
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->IsRedirected();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "self", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 Py_INCREF(Py_None
); resultobj
= Py_None
;
9190 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9193 wxInputStream
*result
;
9194 PyObject
* obj0
= 0 ;
9196 (char *) "self", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9210 wxPyInputStream
* _ptr
= NULL
;
9213 _ptr
= new wxPyInputStream(result
);
9215 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9223 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9226 wxInputStream
*result
;
9227 PyObject
* obj0
= 0 ;
9229 (char *) "self", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9243 wxPyInputStream
* _ptr
= NULL
;
9246 _ptr
= new wxPyInputStream(result
);
9248 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9256 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9259 wxOutputStream
*result
;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9282 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 (arg1
)->CloseOutput();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 Py_INCREF(Py_None
); resultobj
= Py_None
;
9307 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9313 (char *) "self", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9335 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9341 (char *) "self", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9363 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9391 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9394 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9396 return Py_BuildValue((char *)"");
9398 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 int arg1
= (int) 0 ;
9401 int arg2
= (int) 0 ;
9402 int arg3
= (int) 0 ;
9403 wxProcessEvent
*result
;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 PyObject
* obj2
= 0 ;
9408 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9413 arg1
= (int) SWIG_AsInt(obj0
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 arg2
= (int) SWIG_AsInt(obj1
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 arg3
= (int) SWIG_AsInt(obj2
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9438 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (int)(arg1
)->GetPid();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_FromInt((int)result
);
9464 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "self", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (int)(arg1
)->GetExitCode();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_FromInt((int)result
);
9490 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9497 (char *) "self",(char *) "m_pid", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 arg2
= (int) SWIG_AsInt(obj1
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9505 if (arg1
) (arg1
)->m_pid
= arg2
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9514 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "self", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9526 result
= (int) ((arg1
)->m_pid
);
9528 resultobj
= SWIG_FromInt((int)result
);
9535 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "self",(char *) "m_exitcode", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 arg2
= (int) SWIG_AsInt(obj1
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9550 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9552 Py_INCREF(Py_None
); resultobj
= Py_None
;
9559 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9571 result
= (int) ((arg1
)->m_exitcode
);
9573 resultobj
= SWIG_FromInt((int)result
);
9580 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9583 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9585 return Py_BuildValue((char *)"");
9587 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxString
*arg1
= 0 ;
9590 int arg2
= (int) wxEXEC_ASYNC
;
9591 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9593 bool temp1
= False
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 PyObject
* obj2
= 0 ;
9598 (char *) "command",(char *) "flags",(char *) "process", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9603 arg1
= wxString_in_helper(obj0
);
9604 if (arg1
== NULL
) SWIG_fail
;
9608 arg2
= (int) SWIG_AsInt(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9612 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 if (!wxPyCheckForApp()) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_FromLong((long)result
);
9638 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 int arg1
= (int) wxJOYSTICK1
;
9642 PyObject
* obj0
= 0 ;
9644 (char *) "joystick", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9649 arg1
= (int) SWIG_AsInt(obj0
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 if (!wxPyCheckForApp()) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxJoystick
*)new wxJoystick(arg1
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9667 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9692 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (arg1
)->GetPosition();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 wxPoint
* resultptr
;
9713 resultptr
= new wxPoint((wxPoint
&) result
);
9714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9722 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9728 (char *) "self", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (int)(arg1
)->GetZPosition();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= SWIG_FromInt((int)result
);
9748 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (int)(arg1
)->GetButtonState();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_FromInt((int)result
);
9774 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "self", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (int)(arg1
)->GetPOVPosition();
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_FromInt((int)result
);
9800 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (int)(arg1
)->GetPOVCTSPosition();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_FromInt((int)result
);
9826 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (int)(arg1
)->GetRudderPosition();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_FromInt((int)result
);
9852 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (int)(arg1
)->GetUPosition();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= SWIG_FromInt((int)result
);
9878 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9884 (char *) "self", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (int)(arg1
)->GetVPosition();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_FromInt((int)result
);
9904 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (int)(arg1
)->GetMovementThreshold();
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_FromInt((int)result
);
9930 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9937 (char *) "self",(char *) "threshold", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 arg2
= (int) SWIG_AsInt(obj1
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 (arg1
)->SetMovementThreshold(arg2
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 Py_INCREF(Py_None
); resultobj
= Py_None
;
9959 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (bool)(arg1
)->IsOk();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9987 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9993 (char *) "self", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (int)(arg1
)->GetNumberJoysticks();
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= SWIG_FromInt((int)result
);
10013 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (int)(arg1
)->GetManufacturerId();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_FromInt((int)result
);
10039 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (int)(arg1
)->GetProductId();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_FromInt((int)result
);
10065 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (arg1
)->GetProductName();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10097 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (int)(arg1
)->GetXMin();
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_FromInt((int)result
);
10123 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (int)(arg1
)->GetYMin();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_FromInt((int)result
);
10149 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10153 PyObject
* obj0
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (int)(arg1
)->GetZMin();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_FromInt((int)result
);
10175 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (int)(arg1
)->GetXMax();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_FromInt((int)result
);
10201 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10203 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10205 PyObject
* obj0
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (int)(arg1
)->GetYMax();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_FromInt((int)result
);
10227 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "self", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (int)(arg1
)->GetZMax();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_FromInt((int)result
);
10253 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (int)(arg1
)->GetNumberButtons();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_FromInt((int)result
);
10279 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (int)(arg1
)->GetNumberAxes();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_FromInt((int)result
);
10305 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (int)(arg1
)->GetMaxButtons();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_FromInt((int)result
);
10331 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (int)(arg1
)->GetMaxAxes();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_FromInt((int)result
);
10357 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (int)(arg1
)->GetPollingMin();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_FromInt((int)result
);
10383 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (int)(arg1
)->GetPollingMax();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_FromInt((int)result
);
10409 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= (int)(arg1
)->GetRudderMin();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_FromInt((int)result
);
10435 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10439 PyObject
* obj0
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (int)(arg1
)->GetRudderMax();
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= SWIG_FromInt((int)result
);
10461 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (int)(arg1
)->GetUMin();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_FromInt((int)result
);
10487 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (int)(arg1
)->GetUMax();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_FromInt((int)result
);
10513 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (int)(arg1
)->GetVMin();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_FromInt((int)result
);
10539 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (int)(arg1
)->GetVMax();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_FromInt((int)result
);
10565 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)(arg1
)->HasRudder();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->HasZ();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (bool)(arg1
)->HasU();
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10649 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10653 PyObject
* obj0
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (bool)(arg1
)->HasV();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10677 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (bool)(arg1
)->HasPOV();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10705 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (bool)(arg1
)->HasPOV4Dir();
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10733 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (bool)(arg1
)->HasPOVCTS();
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10761 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10764 wxWindow
*arg2
= (wxWindow
*) 0 ;
10765 int arg3
= (int) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 PyObject
* obj2
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 arg3
= (int) SWIG_AsInt(obj2
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10799 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (bool)(arg1
)->ReleaseCapture();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10827 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10830 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10832 return Py_BuildValue((char *)"");
10834 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10837 wxPoint
*arg2
= (wxPoint
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self",(char *) "m_pos", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10849 if (arg1
) (arg1
)->m_pos
= *arg2
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10879 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "m_zPosition", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 arg2
= (int) SWIG_AsInt(obj1
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10894 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10896 Py_INCREF(Py_None
); resultobj
= Py_None
;
10903 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 result
= (int) ((arg1
)->m_zPosition
);
10917 resultobj
= SWIG_FromInt((int)result
);
10924 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "m_buttonChange", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 arg2
= (int) SWIG_AsInt(obj1
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10939 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 result
= (int) ((arg1
)->m_buttonChange
);
10962 resultobj
= SWIG_FromInt((int)result
);
10969 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "m_buttonState", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10982 arg2
= (int) SWIG_AsInt(obj1
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10984 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 result
= (int) ((arg1
)->m_buttonState
);
11007 resultobj
= SWIG_FromInt((int)result
);
11014 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "m_joyStick", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 arg2
= (int) SWIG_AsInt(obj1
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 result
= (int) ((arg1
)->m_joyStick
);
11052 resultobj
= SWIG_FromInt((int)result
);
11059 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11062 int arg2
= (int) 0 ;
11063 int arg3
= (int) wxJOYSTICK1
;
11064 int arg4
= (int) 0 ;
11065 wxJoystickEvent
*result
;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11076 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 arg2
= (int) SWIG_AsInt(obj1
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 arg3
= (int) SWIG_AsInt(obj2
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 arg4
= (int) SWIG_AsInt(obj3
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11105 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 wxPoint
* resultptr
;
11126 resultptr
= new wxPoint((wxPoint
&) result
);
11127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11135 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= SWIG_FromInt((int)result
);
11161 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_FromInt((int)result
);
11187 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_FromInt((int)result
);
11213 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_FromInt((int)result
);
11239 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "stick", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 arg2
= (int) SWIG_AsInt(obj1
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 (arg1
)->SetJoystick(arg2
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 Py_INCREF(Py_None
); resultobj
= Py_None
;
11268 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "state", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11281 arg2
= (int) SWIG_AsInt(obj1
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->SetButtonState(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "change", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11310 arg2
= (int) SWIG_AsInt(obj1
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->SetButtonChange(arg2
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11329 wxPoint
*arg2
= 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "pos", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 Py_INCREF(Py_None
); resultobj
= Py_None
;
11358 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "zPos", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 arg2
= (int) SWIG_AsInt(obj1
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 (arg1
)->SetZPosition(arg2
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 Py_INCREF(Py_None
); resultobj
= Py_None
;
11387 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11415 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11443 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11471 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11474 int arg2
= (int) wxJOY_BUTTON_ANY
;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self",(char *) "but", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11486 arg2
= (int) SWIG_AsInt(obj1
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11508 int arg2
= (int) wxJOY_BUTTON_ANY
;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "but", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11520 arg2
= (int) SWIG_AsInt(obj1
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11539 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11542 int arg2
= (int) wxJOY_BUTTON_ANY
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "but", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 arg2
= (int) SWIG_AsInt(obj1
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11573 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11578 return Py_BuildValue((char *)"");
11580 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11583 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11585 bool temp1
= False
;
11586 PyObject
* obj0
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "fileName", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11594 arg1
= wxString_in_helper(obj0
);
11595 if (arg1
== NULL
) SWIG_fail
;
11600 if (!wxPyCheckForApp()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11622 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 PyObject
*arg1
= (PyObject
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "data", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11634 if (!wxPyCheckForApp()) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (wxSound
*)new_wxSound(arg1
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11648 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxSound
*arg1
= (wxSound
*) 0 ;
11651 PyObject
* obj0
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxSound
*arg1
= (wxSound
*) 0 ;
11676 wxString
*arg2
= 0 ;
11678 bool temp2
= False
;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "self",(char *) "fileName", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11689 arg2
= wxString_in_helper(obj1
);
11690 if (arg2
== NULL
) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11717 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxSound
*arg1
= (wxSound
*) 0 ;
11720 PyObject
*arg2
= (PyObject
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "data", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11748 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxSound
*arg1
= (wxSound
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (bool)(arg1
)->IsOk();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11776 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxSound
*arg1
= (wxSound
*) 0 ;
11779 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11781 PyObject
* obj0
= 0 ;
11782 PyObject
* obj1
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self",(char *) "flags", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11791 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11795 if (!wxPyCheckForApp()) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11811 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxString
*arg1
= 0 ;
11814 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11816 bool temp1
= False
;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "filename",(char *) "flags", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11825 arg1
= wxString_in_helper(obj0
);
11826 if (arg1
== NULL
) SWIG_fail
;
11830 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11834 if (!wxPyCheckForApp()) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11858 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 char *kwnames
[] = {
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11866 if (!wxPyCheckForApp()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 Py_INCREF(Py_None
); resultobj
= Py_None
;
11880 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11883 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11885 return Py_BuildValue((char *)"");
11887 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxString
*arg1
= 0 ;
11890 wxString
*arg2
= 0 ;
11891 wxString
*arg3
= 0 ;
11892 wxString
*arg4
= 0 ;
11893 wxFileTypeInfo
*result
;
11894 bool temp1
= False
;
11895 bool temp2
= False
;
11896 bool temp3
= False
;
11897 bool temp4
= False
;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 PyObject
* obj3
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11908 arg1
= wxString_in_helper(obj0
);
11909 if (arg1
== NULL
) SWIG_fail
;
11913 arg2
= wxString_in_helper(obj1
);
11914 if (arg2
== NULL
) SWIG_fail
;
11918 arg3
= wxString_in_helper(obj2
);
11919 if (arg3
== NULL
) SWIG_fail
;
11923 arg4
= wxString_in_helper(obj3
);
11924 if (arg4
== NULL
) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11973 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxArrayString
*arg1
= 0 ;
11976 wxFileTypeInfo
*result
;
11977 bool temp1
= False
;
11978 PyObject
* obj0
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "sArray", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11985 if (! PySequence_Check(obj0
)) {
11986 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11989 arg1
= new wxArrayString
;
11991 int i
, len
=PySequence_Length(obj0
);
11992 for (i
=0; i
<len
; i
++) {
11993 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11995 PyObject
* str
= PyObject_Unicode(item
);
11997 PyObject
* str
= PyObject_Str(item
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12000 arg1
->Add(Py2wxString(str
));
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12014 if (temp1
) delete arg1
;
12019 if (temp1
) delete arg1
;
12025 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxFileTypeInfo
*result
;
12028 char *kwnames
[] = {
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12047 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12075 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12078 wxString
*arg2
= 0 ;
12079 int arg3
= (int) 0 ;
12080 bool temp2
= False
;
12081 PyObject
* obj0
= 0 ;
12082 PyObject
* obj1
= 0 ;
12083 PyObject
* obj2
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 arg2
= wxString_in_helper(obj1
);
12093 if (arg2
== NULL
) SWIG_fail
;
12097 arg3
= (int) SWIG_AsInt(obj2
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12125 wxString
*arg2
= 0 ;
12126 bool temp2
= False
;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "shortDesc", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 arg2
= wxString_in_helper(obj1
);
12138 if (arg2
== NULL
) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 Py_INCREF(Py_None
); resultobj
= Py_None
;
12163 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12179 result
= (wxString
*) &_result_ref
;
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12198 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12214 result
= (wxString
*) &_result_ref
;
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12233 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12249 result
= (wxString
*) &_result_ref
;
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12268 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12284 result
= (wxString
*) &_result_ref
;
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12294 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12303 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12319 result
= (wxString
*) &_result_ref
;
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12329 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12338 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12341 wxArrayString
*result
;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12354 result
= (wxArrayString
*) &_result_ref
;
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= wxArrayString2PyList_helper(*result
);
12369 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_FromInt((int)result
);
12395 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12411 result
= (wxString
*) &_result_ref
;
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12421 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12430 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_FromInt((int)result
);
12456 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12459 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12461 return Py_BuildValue((char *)"");
12463 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxFileTypeInfo
*arg1
= 0 ;
12466 wxFileType
*result
;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "ftInfo", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12476 if (arg1
== NULL
) {
12477 PyErr_SetString(PyExc_TypeError
,"null reference");
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12494 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxFileType
*arg1
= (wxFileType
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 Py_INCREF(Py_None
); resultobj
= Py_None
;
12519 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxFileType
*arg1
= (wxFileType
*) 0 ;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= result
;
12545 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxFileType
*arg1
= (wxFileType
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= result
;
12571 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxFileType
*arg1
= (wxFileType
*) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
;
12597 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxFileType
*arg1
= (wxFileType
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12623 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxFileType
*arg1
= (wxFileType
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= result
;
12649 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxFileType
*arg1
= (wxFileType
*) 0 ;
12653 PyObject
* obj0
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= result
;
12675 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxFileType
*arg1
= (wxFileType
*) 0 ;
12678 wxString
*arg2
= 0 ;
12679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12682 bool temp2
= False
;
12683 bool temp3
= False
;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 PyObject
* obj2
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 arg2
= wxString_in_helper(obj1
);
12696 if (arg2
== NULL
) SWIG_fail
;
12701 arg3
= wxString_in_helper(obj2
);
12702 if (arg3
== NULL
) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
;
12736 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxFileType
*arg1
= (wxFileType
*) 0 ;
12739 wxString
*arg2
= 0 ;
12740 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12741 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12743 bool temp2
= False
;
12744 bool temp3
= False
;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 PyObject
* obj2
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
12762 arg3
= wxString_in_helper(obj2
);
12763 if (arg3
== NULL
) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
;
12797 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxFileType
*arg1
= (wxFileType
*) 0 ;
12800 wxString
*arg2
= 0 ;
12801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12804 bool temp2
= False
;
12805 bool temp3
= False
;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 arg2
= wxString_in_helper(obj1
);
12818 if (arg2
== NULL
) SWIG_fail
;
12823 arg3
= wxString_in_helper(obj2
);
12824 if (arg3
== NULL
) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
;
12858 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxFileType
*arg1
= (wxFileType
*) 0 ;
12861 wxString
*arg2
= 0 ;
12862 wxString
*arg3
= 0 ;
12863 bool arg4
= (bool) True
;
12865 bool temp2
= False
;
12866 bool temp3
= False
;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 PyObject
* obj2
= 0 ;
12870 PyObject
* obj3
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 arg2
= wxString_in_helper(obj1
);
12880 if (arg2
== NULL
) SWIG_fail
;
12884 arg3
= wxString_in_helper(obj2
);
12885 if (arg3
== NULL
) SWIG_fail
;
12889 arg4
= (bool) SWIG_AsBool(obj3
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12924 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxFileType
*arg1
= (wxFileType
*) 0 ;
12927 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12928 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12929 int arg3
= (int) 0 ;
12931 bool temp2
= False
;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 PyObject
* obj2
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self",(char *) "cmd",(char *) "index", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 arg2
= wxString_in_helper(obj1
);
12945 if (arg2
== NULL
) SWIG_fail
;
12950 arg3
= (int) SWIG_AsInt(obj2
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12977 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxFileType
*arg1
= (wxFileType
*) 0 ;
12981 PyObject
* obj0
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (bool)(arg1
)->Unassociate();
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13005 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxString
*arg1
= 0 ;
13008 wxString
*arg2
= 0 ;
13009 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13012 bool temp1
= False
;
13013 bool temp2
= False
;
13014 bool temp3
= False
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13024 arg1
= wxString_in_helper(obj0
);
13025 if (arg1
== NULL
) SWIG_fail
;
13029 arg2
= wxString_in_helper(obj1
);
13030 if (arg2
== NULL
) SWIG_fail
;
13035 arg3
= wxString_in_helper(obj2
);
13036 if (arg3
== NULL
) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13084 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13087 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13089 return Py_BuildValue((char *)"");
13091 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13092 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13097 static PyObject
*_wrap_TheMimeTypesManager_get() {
13100 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13105 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxString
*arg1
= 0 ;
13108 wxString
*arg2
= 0 ;
13110 bool temp1
= False
;
13111 bool temp2
= False
;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "mimeType",(char *) "wildcard", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13120 arg1
= wxString_in_helper(obj0
);
13121 if (arg1
== NULL
) SWIG_fail
;
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13161 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxMimeTypesManager
*result
;
13164 char *kwnames
[] = {
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13183 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13186 int arg2
= (int) wxMAILCAP_ALL
;
13187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13189 bool temp3
= False
;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13201 arg2
= (int) SWIG_AsInt(obj1
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13206 arg3
= wxString_in_helper(obj2
);
13207 if (arg3
== NULL
) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 (arg1
)->ClearData();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 Py_INCREF(Py_None
); resultobj
= Py_None
;
13258 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13261 wxString
*arg2
= 0 ;
13262 wxFileType
*result
;
13263 bool temp2
= False
;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "ext", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= wxString_in_helper(obj1
);
13275 if (arg2
== NULL
) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13300 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13303 wxString
*arg2
= 0 ;
13304 wxFileType
*result
;
13305 bool temp2
= False
;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "mimeType", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 arg2
= wxString_in_helper(obj1
);
13317 if (arg2
== NULL
) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13342 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13345 wxString
*arg2
= 0 ;
13346 bool arg3
= (bool) False
;
13348 bool temp2
= False
;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 PyObject
* obj2
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 arg2
= wxString_in_helper(obj1
);
13361 if (arg2
== NULL
) SWIG_fail
;
13365 arg3
= (bool) SWIG_AsBool(obj2
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13392 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13395 wxString
*arg2
= 0 ;
13397 bool temp2
= False
;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "filename", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13408 arg2
= wxString_in_helper(obj1
);
13409 if (arg2
== NULL
) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= result
;
13462 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13465 wxFileTypeInfo
*arg2
= 0 ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "ft", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13478 if (arg2
== NULL
) {
13479 PyErr_SetString(PyExc_TypeError
,"null reference");
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 Py_INCREF(Py_None
); resultobj
= Py_None
;
13496 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13499 wxFileTypeInfo
*arg2
= 0 ;
13500 wxFileType
*result
;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self",(char *) "ftInfo", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13513 if (arg2
== NULL
) {
13514 PyErr_SetString(PyExc_TypeError
,"null reference");
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13531 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13534 wxFileType
*arg2
= (wxFileType
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "ft", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (bool)(arg1
)->Unassociate(arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13563 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 Py_INCREF(Py_None
); resultobj
= Py_None
;
13588 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13591 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13593 return Py_BuildValue((char *)"");
13595 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13596 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13601 static PyObject
*_wrap_ART_TOOLBAR_get() {
13606 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13608 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13615 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13616 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13621 static PyObject
*_wrap_ART_MENU_get() {
13626 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13628 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13635 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13636 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13641 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13646 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13648 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13655 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13656 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13661 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13666 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13668 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13675 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13676 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13681 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13686 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13688 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13695 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13696 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13701 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13706 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13708 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13715 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13716 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13721 static PyObject
*_wrap_ART_OTHER_get() {
13726 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13728 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13735 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13736 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13741 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13746 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13748 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13755 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13756 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13761 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13766 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13768 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13775 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13776 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13781 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13786 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13788 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13795 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13796 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13801 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13806 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13808 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13815 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13816 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13821 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13826 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13828 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13835 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13836 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13841 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13846 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13848 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13855 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13856 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13861 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13866 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13868 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13875 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13876 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13881 static PyObject
*_wrap_ART_GO_BACK_get() {
13886 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13888 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13895 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13896 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13901 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13906 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13908 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13915 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13916 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13921 static PyObject
*_wrap_ART_GO_UP_get() {
13926 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13928 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13935 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13936 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13941 static PyObject
*_wrap_ART_GO_DOWN_get() {
13946 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13948 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13955 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13961 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13975 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13976 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13981 static PyObject
*_wrap_ART_GO_HOME_get() {
13986 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13988 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13995 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13996 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14001 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14006 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14008 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14015 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14021 static PyObject
*_wrap_ART_PRINT_get() {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14035 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14036 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14041 static PyObject
*_wrap_ART_HELP_get() {
14046 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14048 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14055 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14056 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14061 static PyObject
*_wrap_ART_TIP_get() {
14066 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14068 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14075 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14081 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14095 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14096 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14101 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14106 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14108 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14115 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14116 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14121 static PyObject
*_wrap_ART_NEW_DIR_get() {
14126 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14128 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14135 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14136 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14141 static PyObject
*_wrap_ART_FOLDER_get() {
14146 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14148 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14155 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14156 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14161 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14166 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14168 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14175 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14176 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14181 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14186 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14188 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14195 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14196 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14201 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14206 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14208 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14215 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14216 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14221 static PyObject
*_wrap_ART_TICK_MARK_get() {
14226 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14228 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14235 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14236 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14241 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14246 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14248 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14255 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14256 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14261 static PyObject
*_wrap_ART_ERROR_get() {
14266 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14268 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14275 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14276 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14281 static PyObject
*_wrap_ART_QUESTION_get() {
14286 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14288 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14295 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14296 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14301 static PyObject
*_wrap_ART_WARNING_get() {
14306 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14308 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14315 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14316 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14321 static PyObject
*_wrap_ART_INFORMATION_get() {
14326 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14328 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14335 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14336 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14341 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14346 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14348 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14355 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxPyArtProvider
*result
;
14358 char *kwnames
[] = {
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14364 if (!wxPyCheckForApp()) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14378 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14381 PyObject
*arg2
= (PyObject
*) 0 ;
14382 PyObject
*arg3
= (PyObject
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "self",(char *) "_class", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 Py_INCREF(Py_None
); resultobj
= Py_None
;
14409 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "provider", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 wxPyArtProvider::PushProvider(arg1
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 Py_INCREF(Py_None
); resultobj
= Py_None
;
14434 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14437 char *kwnames
[] = {
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (bool)wxPyArtProvider::PopProvider();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14458 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "provider", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14486 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxString
*arg1
= 0 ;
14489 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14490 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14491 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14492 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14494 bool temp1
= False
;
14495 bool temp2
= False
;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "id",(char *) "client",(char *) "size", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14506 arg1
= wxString_in_helper(obj0
);
14507 if (arg1
== NULL
) SWIG_fail
;
14512 arg2
= wxString_in_helper(obj1
);
14513 if (arg2
== NULL
) SWIG_fail
;
14520 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14524 if (!wxPyCheckForApp()) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 wxBitmap
* resultptr
;
14533 resultptr
= new wxBitmap((wxBitmap
&) result
);
14534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14558 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxString
*arg1
= 0 ;
14561 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14562 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14563 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14564 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14566 bool temp1
= False
;
14567 bool temp2
= False
;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 PyObject
* obj2
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "id",(char *) "client",(char *) "size", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14578 arg1
= wxString_in_helper(obj0
);
14579 if (arg1
== NULL
) SWIG_fail
;
14584 arg2
= wxString_in_helper(obj1
);
14585 if (arg2
== NULL
) SWIG_fail
;
14592 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14596 if (!wxPyCheckForApp()) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 wxIcon
* resultptr
;
14605 resultptr
= new wxIcon((wxIcon
&) result
);
14606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14630 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 wxPyArtProvider_Destroy(arg1
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 Py_INCREF(Py_None
); resultobj
= Py_None
;
14655 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14660 return Py_BuildValue((char *)"");
14662 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 Py_INCREF(Py_None
); resultobj
= Py_None
;
14687 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14690 wxConfigBase
*result
;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "config", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14713 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 bool arg1
= (bool) True
;
14716 wxConfigBase
*result
;
14717 PyObject
* obj0
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "createOnDemand", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14724 arg1
= (bool) SWIG_AsBool(obj0
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14741 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxConfigBase
*result
;
14744 char *kwnames
[] = {
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (wxConfigBase
*)wxConfigBase::Create();
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14763 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 char *kwnames
[] = {
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 wxConfigBase::DontCreateOnDemand();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14787 wxString
*arg2
= 0 ;
14788 bool temp2
= False
;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self",(char *) "path", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 arg2
= wxString_in_helper(obj1
);
14800 if (arg2
== NULL
) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->SetPath((wxString
const &)*arg2
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14825 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14841 result
= (wxString
*) &_result_ref
;
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14851 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14860 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= result
;
14886 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "index", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 arg2
= (long) SWIG_AsLong(obj1
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= result
;
14916 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= result
;
14942 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self",(char *) "index", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 arg2
= (long) SWIG_AsLong(obj1
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= result
;
14972 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14975 bool arg2
= (bool) False
;
14977 PyObject
* obj0
= 0 ;
14978 PyObject
* obj1
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self",(char *) "recursive", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14987 arg2
= (bool) SWIG_AsBool(obj1
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15004 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15007 bool arg2
= (bool) False
;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "recursive", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 arg2
= (bool) SWIG_AsBool(obj1
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15036 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15039 wxString
*arg2
= 0 ;
15041 bool temp2
= False
;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "name", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15052 arg2
= wxString_in_helper(obj1
);
15053 if (arg2
== NULL
) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15080 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15083 wxString
*arg2
= 0 ;
15085 bool temp2
= False
;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "self",(char *) "name", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15096 arg2
= wxString_in_helper(obj1
);
15097 if (arg2
== NULL
) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15124 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15127 wxString
*arg2
= 0 ;
15129 bool temp2
= False
;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self",(char *) "name", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15171 wxString
*arg2
= 0 ;
15173 bool temp2
= False
;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self",(char *) "name", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 arg2
= wxString_in_helper(obj1
);
15185 if (arg2
== NULL
) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_FromInt((int)result
);
15210 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15213 wxString
*arg2
= 0 ;
15214 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15215 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15217 bool temp2
= False
;
15218 bool temp3
= False
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 arg2
= wxString_in_helper(obj1
);
15231 if (arg2
== NULL
) SWIG_fail
;
15236 arg3
= wxString_in_helper(obj2
);
15237 if (arg3
== NULL
) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15277 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15280 wxString
*arg2
= 0 ;
15281 long arg3
= (long) 0 ;
15283 bool temp2
= False
;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 arg2
= wxString_in_helper(obj1
);
15296 if (arg2
== NULL
) SWIG_fail
;
15300 arg3
= (long) SWIG_AsLong(obj2
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_FromLong((long)result
);
15325 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15328 wxString
*arg2
= 0 ;
15329 double arg3
= (double) 0.0 ;
15331 bool temp2
= False
;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 PyObject
* obj2
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 arg2
= wxString_in_helper(obj1
);
15344 if (arg2
== NULL
) SWIG_fail
;
15348 arg3
= (double) SWIG_AsDouble(obj2
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_FromDouble((double)result
);
15373 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15376 wxString
*arg2
= 0 ;
15377 bool arg3
= (bool) False
;
15379 bool temp2
= False
;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 PyObject
* obj2
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15391 arg2
= wxString_in_helper(obj1
);
15392 if (arg2
== NULL
) SWIG_fail
;
15396 arg3
= (bool) SWIG_AsBool(obj2
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15426 wxString
*arg2
= 0 ;
15427 wxString
*arg3
= 0 ;
15429 bool temp2
= False
;
15430 bool temp3
= False
;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self",(char *) "key",(char *) "value", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 arg2
= wxString_in_helper(obj1
);
15443 if (arg2
== NULL
) SWIG_fail
;
15447 arg3
= wxString_in_helper(obj2
);
15448 if (arg3
== NULL
) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15483 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15486 wxString
*arg2
= 0 ;
15489 bool temp2
= False
;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 PyObject
* obj2
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "key",(char *) "value", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 arg2
= wxString_in_helper(obj1
);
15502 if (arg2
== NULL
) SWIG_fail
;
15505 arg3
= (long) SWIG_AsLong(obj2
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15534 wxString
*arg2
= 0 ;
15537 bool temp2
= False
;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 PyObject
* obj2
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self",(char *) "key",(char *) "value", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 arg2
= wxString_in_helper(obj1
);
15550 if (arg2
== NULL
) SWIG_fail
;
15553 arg3
= (double) SWIG_AsDouble(obj2
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15579 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15582 wxString
*arg2
= 0 ;
15585 bool temp2
= False
;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "key",(char *) "value", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 arg2
= wxString_in_helper(obj1
);
15598 if (arg2
== NULL
) SWIG_fail
;
15601 arg3
= (bool) SWIG_AsBool(obj2
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15627 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15630 bool arg2
= (bool) False
;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "currentOnly", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 arg2
= (bool) SWIG_AsBool(obj1
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (bool)(arg1
)->Flush(arg2
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15661 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15664 wxString
*arg2
= 0 ;
15665 wxString
*arg3
= 0 ;
15667 bool temp2
= False
;
15668 bool temp3
= False
;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 arg2
= wxString_in_helper(obj1
);
15681 if (arg2
== NULL
) SWIG_fail
;
15685 arg3
= wxString_in_helper(obj2
);
15686 if (arg3
== NULL
) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15721 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15724 wxString
*arg2
= 0 ;
15725 wxString
*arg3
= 0 ;
15727 bool temp2
= False
;
15728 bool temp3
= False
;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 PyObject
* obj2
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15740 arg2
= wxString_in_helper(obj1
);
15741 if (arg2
== NULL
) SWIG_fail
;
15745 arg3
= wxString_in_helper(obj2
);
15746 if (arg3
== NULL
) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15784 wxString
*arg2
= 0 ;
15785 bool arg3
= (bool) True
;
15787 bool temp2
= False
;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 PyObject
* obj2
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 arg2
= wxString_in_helper(obj1
);
15800 if (arg2
== NULL
) SWIG_fail
;
15804 arg3
= (bool) SWIG_AsBool(obj2
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15831 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15834 wxString
*arg2
= 0 ;
15836 bool temp2
= False
;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self",(char *) "key", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 arg2
= wxString_in_helper(obj1
);
15848 if (arg2
== NULL
) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15875 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (bool)(arg1
)->DeleteAll();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15903 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15906 bool arg2
= (bool) True
;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self",(char *) "doIt", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 arg2
= (bool) SWIG_AsBool(obj1
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 (arg1
)->SetExpandEnvVars(arg2
);
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 Py_INCREF(Py_None
); resultobj
= Py_None
;
15934 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15962 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15965 bool arg2
= (bool) True
;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self",(char *) "doIt", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15976 arg2
= (bool) SWIG_AsBool(obj1
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 (arg1
)->SetRecordDefaults(arg2
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16021 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16024 wxString
*arg2
= 0 ;
16026 bool temp2
= False
;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "str", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= wxString_in_helper(obj1
);
16038 if (arg2
== NULL
) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16069 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16101 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16133 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16136 wxString
*arg2
= 0 ;
16137 bool temp2
= False
;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "self",(char *) "appName", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16148 arg2
= wxString_in_helper(obj1
);
16149 if (arg2
== NULL
) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 (arg1
)->SetAppName((wxString
const &)*arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 Py_INCREF(Py_None
); resultobj
= Py_None
;
16174 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16177 wxString
*arg2
= 0 ;
16178 bool temp2
= False
;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self",(char *) "vendorName", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 arg2
= wxString_in_helper(obj1
);
16190 if (arg2
== NULL
) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 Py_INCREF(Py_None
); resultobj
= Py_None
;
16215 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self",(char *) "style", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 arg2
= (long) SWIG_AsLong(obj1
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 (arg1
)->SetStyle(arg2
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 Py_INCREF(Py_None
); resultobj
= Py_None
;
16244 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_FromLong((long)result
);
16270 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16273 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16275 return Py_BuildValue((char *)"");
16277 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16280 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16281 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16282 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16283 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16284 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16287 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16289 bool temp1
= False
;
16290 bool temp2
= False
;
16291 bool temp3
= False
;
16292 bool temp4
= False
;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 PyObject
* obj2
= 0 ;
16296 PyObject
* obj3
= 0 ;
16297 PyObject
* obj4
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16305 arg1
= wxString_in_helper(obj0
);
16306 if (arg1
== NULL
) SWIG_fail
;
16312 arg2
= wxString_in_helper(obj1
);
16313 if (arg2
== NULL
) SWIG_fail
;
16319 arg3
= wxString_in_helper(obj2
);
16320 if (arg3
== NULL
) SWIG_fail
;
16326 arg4
= wxString_in_helper(obj3
);
16327 if (arg4
== NULL
) SWIG_fail
;
16332 arg5
= (long) SWIG_AsLong(obj4
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16381 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxConfig
*arg1
= (wxConfig
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16409 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16411 return Py_BuildValue((char *)"");
16413 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16417 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16418 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16421 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16423 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16424 wxFileConfig
*result
;
16425 bool temp1
= False
;
16426 bool temp2
= False
;
16427 bool temp3
= False
;
16428 bool temp4
= False
;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 PyObject
* obj2
= 0 ;
16432 PyObject
* obj3
= 0 ;
16433 PyObject
* obj4
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16441 arg1
= wxString_in_helper(obj0
);
16442 if (arg1
== NULL
) SWIG_fail
;
16448 arg2
= wxString_in_helper(obj1
);
16449 if (arg2
== NULL
) SWIG_fail
;
16455 arg3
= wxString_in_helper(obj2
);
16456 if (arg3
== NULL
) SWIG_fail
;
16462 arg4
= wxString_in_helper(obj3
);
16463 if (arg4
== NULL
) SWIG_fail
;
16468 arg5
= (long) SWIG_AsLong(obj4
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16517 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16545 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16547 return Py_BuildValue((char *)"");
16549 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16552 wxString
*arg2
= 0 ;
16553 wxConfigPathChanger
*result
;
16554 bool temp2
= False
;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "config",(char *) "entry", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 arg2
= wxString_in_helper(obj1
);
16566 if (arg2
== NULL
) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16591 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16632 result
= (wxString
*) &_result_ref
;
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16651 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16654 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16656 return Py_BuildValue((char *)"");
16658 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxString
*arg1
= 0 ;
16662 bool temp1
= False
;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "sz", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16670 arg1
= wxString_in_helper(obj0
);
16671 if (arg1
== NULL
) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16702 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16703 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16708 static PyObject
*_wrap_DateFormatStr_get() {
16713 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16715 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16722 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16723 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16728 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16733 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16735 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16742 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16745 PyObject
* obj0
= 0 ;
16746 char *kwnames
[] = {
16747 (char *) "country", NULL
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16751 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16770 char *kwnames
[] = {
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (int)wxDateTime::GetCountry();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_FromInt((int)result
);
16789 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 int arg1
= (int) wxDateTime::Country_Default
;
16793 PyObject
* obj0
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "country", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16800 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16819 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 int arg1
= (int) wxDateTime::Gregorian
;
16823 PyObject
* obj0
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "cal", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16830 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_FromInt((int)result
);
16847 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "year", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16857 arg1
= (int) SWIG_AsInt(obj0
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_FromInt((int)result
);
16873 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 int arg1
= (int) wxDateTime::Gregorian
;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "cal", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16884 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_FromInt((int)result
);
16901 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 int arg1
= (int) wxDateTime::Inv_Year
;
16904 int arg2
= (int) wxDateTime::Gregorian
;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "year",(char *) "cal", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16914 arg1
= (int) SWIG_AsInt(obj0
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16937 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 int arg1
= (int) wxDateTime::Inv_Year
;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "year", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16948 arg1
= (int) SWIG_AsInt(obj0
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (int)wxDateTime::GetCentury(arg1
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= SWIG_FromInt((int)result
);
16965 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16968 int arg2
= (int) wxDateTime::Gregorian
;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "year",(char *) "cal", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16977 arg1
= (int) SWIG_AsInt(obj0
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_FromInt((int)result
);
16997 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
17000 int arg2
= (int) wxDateTime::Inv_Year
;
17001 int arg3
= (int) wxDateTime::Gregorian
;
17003 PyObject
* obj0
= 0 ;
17004 PyObject
* obj1
= 0 ;
17005 PyObject
* obj2
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "month",(char *) "year",(char *) "cal", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17011 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 arg2
= (int) SWIG_AsInt(obj1
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_FromInt((int)result
);
17035 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17038 int arg2
= (int) wxDateTime::Name_Full
;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "month",(char *) "flags", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17047 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17073 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17076 int arg2
= (int) wxDateTime::Name_Full
;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "weekday",(char *) "flags", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17085 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17111 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxString
*arg1
= (wxString
*) 0 ;
17114 wxString
*arg2
= (wxString
*) 0 ;
17115 bool temp1
= False
;
17116 bool temp2
= False
;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17125 arg1
= wxString_in_helper(obj0
);
17126 if (arg1
== NULL
) SWIG_fail
;
17130 arg2
= wxString_in_helper(obj1
);
17131 if (arg2
== NULL
) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 Py_INCREF(Py_None
); resultobj
= Py_None
;
17164 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 int arg1
= (int) wxDateTime::Inv_Year
;
17167 int arg2
= (int) wxDateTime::Country_Default
;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "year",(char *) "country", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17177 arg1
= (int) SWIG_AsInt(obj0
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17200 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 int arg1
= (int) wxDateTime::Inv_Year
;
17203 int arg2
= (int) wxDateTime::Country_Default
;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "year",(char *) "country", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17213 arg1
= (int) SWIG_AsInt(obj0
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 wxDateTime
* resultptr
;
17229 resultptr
= new wxDateTime((wxDateTime
&) result
);
17230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17238 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 int arg1
= (int) wxDateTime::Inv_Year
;
17241 int arg2
= (int) wxDateTime::Country_Default
;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "year",(char *) "country", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17251 arg1
= (int) SWIG_AsInt(obj0
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 wxDateTime
* resultptr
;
17267 resultptr
= new wxDateTime((wxDateTime
&) result
);
17268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17276 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17279 char *kwnames
[] = {
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= wxDateTime::Now();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 wxDateTime
* resultptr
;
17293 resultptr
= new wxDateTime((wxDateTime
&) result
);
17294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17302 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17305 char *kwnames
[] = {
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= wxDateTime::UNow();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 wxDateTime
* resultptr
;
17319 resultptr
= new wxDateTime((wxDateTime
&) result
);
17320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17328 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17331 char *kwnames
[] = {
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= wxDateTime::Today();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 wxDateTime
* resultptr
;
17345 resultptr
= new wxDateTime((wxDateTime
&) result
);
17346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17354 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxDateTime
*result
;
17357 char *kwnames
[] = {
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (wxDateTime
*)new wxDateTime();
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17376 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17379 wxDateTime
*result
;
17380 PyObject
* obj0
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "timet", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17386 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (wxDateTime
*)new wxDateTime(arg1
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17402 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17405 wxDateTime
*result
;
17406 PyObject
* obj0
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "jdn", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17412 arg1
= (double) SWIG_AsDouble(obj0
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (wxDateTime
*)new wxDateTime(arg1
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17428 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17431 int arg2
= (int) 0 ;
17432 int arg3
= (int) 0 ;
17433 int arg4
= (int) 0 ;
17434 wxDateTime
*result
;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 PyObject
* obj2
= 0 ;
17438 PyObject
* obj3
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17444 arg1
= (int) SWIG_AsInt(obj0
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 arg2
= (int) SWIG_AsInt(obj1
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 arg3
= (int) SWIG_AsInt(obj2
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 arg4
= (int) SWIG_AsInt(obj3
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17472 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17475 int arg2
= (int) wxDateTime::Inv_Month
;
17476 int arg3
= (int) wxDateTime::Inv_Year
;
17477 int arg4
= (int) 0 ;
17478 int arg5
= (int) 0 ;
17479 int arg6
= (int) 0 ;
17480 int arg7
= (int) 0 ;
17481 wxDateTime
*result
;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 PyObject
* obj2
= 0 ;
17485 PyObject
* obj3
= 0 ;
17486 PyObject
* obj4
= 0 ;
17487 PyObject
* obj5
= 0 ;
17488 PyObject
* obj6
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17494 arg1
= (int) SWIG_AsInt(obj0
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 arg3
= (int) SWIG_AsInt(obj2
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 arg4
= (int) SWIG_AsInt(obj3
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 arg5
= (int) SWIG_AsInt(obj4
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 arg6
= (int) SWIG_AsInt(obj5
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17517 arg7
= (int) SWIG_AsInt(obj6
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17534 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17562 wxDateTime
*result
;
17563 PyObject
* obj0
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17575 result
= (wxDateTime
*) &_result_ref
;
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17588 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17592 wxDateTime
*result
;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self",(char *) "timet", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17602 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17608 result
= (wxDateTime
*) &_result_ref
;
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17621 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17625 wxDateTime
*result
;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "jdn", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 arg2
= (double) SWIG_AsDouble(obj1
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17641 result
= (wxDateTime
*) &_result_ref
;
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17654 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17658 int arg3
= (int) 0 ;
17659 int arg4
= (int) 0 ;
17660 int arg5
= (int) 0 ;
17661 wxDateTime
*result
;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 PyObject
* obj3
= 0 ;
17666 PyObject
* obj4
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 arg2
= (int) SWIG_AsInt(obj1
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 arg3
= (int) SWIG_AsInt(obj2
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 arg4
= (int) SWIG_AsInt(obj3
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 arg5
= (int) SWIG_AsInt(obj4
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17692 result
= (wxDateTime
*) &_result_ref
;
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17705 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17709 int arg3
= (int) wxDateTime::Inv_Month
;
17710 int arg4
= (int) wxDateTime::Inv_Year
;
17711 int arg5
= (int) 0 ;
17712 int arg6
= (int) 0 ;
17713 int arg7
= (int) 0 ;
17714 int arg8
= (int) 0 ;
17715 wxDateTime
*result
;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 PyObject
* obj2
= 0 ;
17719 PyObject
* obj3
= 0 ;
17720 PyObject
* obj4
= 0 ;
17721 PyObject
* obj5
= 0 ;
17722 PyObject
* obj6
= 0 ;
17723 PyObject
* obj7
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 arg2
= (int) SWIG_AsInt(obj1
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 arg4
= (int) SWIG_AsInt(obj3
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 arg5
= (int) SWIG_AsInt(obj4
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 arg6
= (int) SWIG_AsInt(obj5
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17750 arg7
= (int) SWIG_AsInt(obj6
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 arg8
= (int) SWIG_AsInt(obj7
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17761 result
= (wxDateTime
*) &_result_ref
;
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17774 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17777 wxDateTime
*result
;
17778 PyObject
* obj0
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17790 result
= (wxDateTime
*) &_result_ref
;
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17803 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17807 wxDateTime
*result
;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self",(char *) "year", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 arg2
= (int) SWIG_AsInt(obj1
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17823 result
= (wxDateTime
*) &_result_ref
;
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17836 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17840 wxDateTime
*result
;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "month", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17856 result
= (wxDateTime
*) &_result_ref
;
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17869 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17873 wxDateTime
*result
;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "day", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17883 arg2
= (int) SWIG_AsInt(obj1
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17889 result
= (wxDateTime
*) &_result_ref
;
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17902 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17906 wxDateTime
*result
;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self",(char *) "hour", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 arg2
= (int) SWIG_AsInt(obj1
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17922 result
= (wxDateTime
*) &_result_ref
;
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17935 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17939 wxDateTime
*result
;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self",(char *) "minute", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 arg2
= (int) SWIG_AsInt(obj1
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17955 result
= (wxDateTime
*) &_result_ref
;
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17968 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17972 wxDateTime
*result
;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "second", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 arg2
= (int) SWIG_AsInt(obj1
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17988 result
= (wxDateTime
*) &_result_ref
;
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18001 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18005 wxDateTime
*result
;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self",(char *) "millisecond", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 arg2
= (int) SWIG_AsInt(obj1
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18021 result
= (wxDateTime
*) &_result_ref
;
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18034 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18038 int arg3
= (int) wxDateTime::Monday_First
;
18039 wxDateTime
*result
;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 PyObject
* obj2
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18060 result
= (wxDateTime
*) &_result_ref
;
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18073 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18077 int arg3
= (int) wxDateTime::Monday_First
;
18079 PyObject
* obj0
= 0 ;
18080 PyObject
* obj1
= 0 ;
18081 PyObject
* obj2
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 wxDateTime
* resultptr
;
18104 resultptr
= new wxDateTime((wxDateTime
&) result
);
18105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18113 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18117 wxDateTime
*result
;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "weekday", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18133 result
= (wxDateTime
*) &_result_ref
;
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18146 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "weekday", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 wxDateTime
* resultptr
;
18171 resultptr
= new wxDateTime((wxDateTime
&) result
);
18172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18180 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18184 wxDateTime
*result
;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self",(char *) "weekday", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18200 result
= (wxDateTime
*) &_result_ref
;
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18213 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "weekday", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 wxDateTime
* resultptr
;
18238 resultptr
= new wxDateTime((wxDateTime
&) result
);
18239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18247 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18251 int arg3
= (int) 1 ;
18252 int arg4
= (int) wxDateTime::Inv_Month
;
18253 int arg5
= (int) wxDateTime::Inv_Year
;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 PyObject
* obj2
= 0 ;
18258 PyObject
* obj3
= 0 ;
18259 PyObject
* obj4
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 arg3
= (int) SWIG_AsInt(obj2
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 arg5
= (int) SWIG_AsInt(obj4
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18297 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18301 int arg3
= (int) wxDateTime::Inv_Month
;
18302 int arg4
= (int) wxDateTime::Inv_Year
;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 PyObject
* obj2
= 0 ;
18307 PyObject
* obj3
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18322 arg4
= (int) SWIG_AsInt(obj3
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18341 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18345 int arg3
= (int) wxDateTime::Inv_Month
;
18346 int arg4
= (int) wxDateTime::Inv_Year
;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 PyObject
* obj2
= 0 ;
18351 PyObject
* obj3
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18366 arg4
= (int) SWIG_AsInt(obj3
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 wxDateTime
* resultptr
;
18378 resultptr
= new wxDateTime((wxDateTime
&) result
);
18379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18387 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18391 int arg3
= (int) wxDateTime::Mon
;
18392 int arg4
= (int) wxDateTime::Monday_First
;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 PyObject
* obj3
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18405 arg2
= (int) SWIG_AsInt(obj1
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18412 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18431 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18435 int arg3
= (int) wxDateTime::Mon
;
18436 int arg4
= (int) wxDateTime::Monday_First
;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 PyObject
* obj2
= 0 ;
18441 PyObject
* obj3
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= (int) SWIG_AsInt(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18467 wxDateTime
* resultptr
;
18468 resultptr
= new wxDateTime((wxDateTime
&) result
);
18469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18477 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18480 int arg2
= (int) wxDateTime::Inv_Month
;
18481 int arg3
= (int) wxDateTime::Inv_Year
;
18482 wxDateTime
*result
;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self",(char *) "month",(char *) "year", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18498 arg3
= (int) SWIG_AsInt(obj2
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18505 result
= (wxDateTime
*) &_result_ref
;
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18518 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18521 int arg2
= (int) wxDateTime::Inv_Month
;
18522 int arg3
= (int) wxDateTime::Inv_Year
;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "month",(char *) "year", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 arg3
= (int) SWIG_AsInt(obj2
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 wxDateTime
* resultptr
;
18551 resultptr
= new wxDateTime((wxDateTime
&) result
);
18552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18560 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18564 wxDateTime
*result
;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self",(char *) "yday", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18574 arg2
= (int) SWIG_AsInt(obj1
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18580 result
= (wxDateTime
*) &_result_ref
;
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18593 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
;
18595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "yday", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 arg2
= (int) SWIG_AsInt(obj1
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (arg1
)->GetYearDay(arg2
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 wxDateTime
* resultptr
;
18618 resultptr
= new wxDateTime((wxDateTime
&) result
);
18619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18627 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (double)(arg1
)->GetJulianDayNumber();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_FromDouble((double)result
);
18653 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (double)(arg1
)->GetJDN();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= SWIG_FromDouble((double)result
);
18679 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_FromDouble((double)result
);
18705 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (double)(arg1
)->GetMJD();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_FromDouble((double)result
);
18731 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (double)(arg1
)->GetRataDie();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= SWIG_FromDouble((double)result
);
18757 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18760 wxDateTime::TimeZone
*arg2
= 0 ;
18761 bool arg3
= (bool) False
;
18763 bool temp2
= False
;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 PyObject
* obj2
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18779 arg3
= (bool) SWIG_AsBool(obj2
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18790 wxDateTime
* resultptr
;
18791 resultptr
= new wxDateTime((wxDateTime
&) result
);
18792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18795 if (temp2
) delete arg2
;
18800 if (temp2
) delete arg2
;
18806 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18809 wxDateTime::TimeZone
*arg2
= 0 ;
18810 bool arg3
= (bool) False
;
18811 wxDateTime
*result
;
18812 bool temp2
= False
;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 PyObject
* obj2
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18828 arg3
= (bool) SWIG_AsBool(obj2
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18835 result
= (wxDateTime
*) &_result_ref
;
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18843 if (temp2
) delete arg2
;
18848 if (temp2
) delete arg2
;
18854 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18857 bool arg2
= (bool) False
;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self",(char *) "noDST", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18869 arg2
= (bool) SWIG_AsBool(obj1
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (arg1
)->ToGMT(arg2
);
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 wxDateTime
* resultptr
;
18881 resultptr
= new wxDateTime((wxDateTime
&) result
);
18882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18890 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18893 bool arg2
= (bool) False
;
18894 wxDateTime
*result
;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "noDST", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18905 arg2
= (bool) SWIG_AsBool(obj1
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18912 result
= (wxDateTime
*) &_result_ref
;
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18925 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18928 int arg2
= (int) wxDateTime::Country_Default
;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "country", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= SWIG_FromInt((int)result
);
18957 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18985 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19011 static PyObject
*_wrap_DateTime_GetYear(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_GetYear",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
)->GetYear((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_GetMonth(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_GetMonth",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
)->GetMonth((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_GetDay(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_GetDay",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
)->GetDay((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_GetWeekDay(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_GetWeekDay",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
)->GetWeekDay((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_GetHour(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_GetHour",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
)->GetHour((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_GetMinute(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_GetMinute",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
)->GetMinute((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_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19266 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19267 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19269 bool temp2
= False
;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self",(char *) "tz", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19281 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= SWIG_FromInt((int)result
);
19294 if (temp2
) delete arg2
;
19299 if (temp2
) delete arg2
;
19305 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19308 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19309 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19311 bool temp2
= False
;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self",(char *) "tz", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19323 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= SWIG_FromInt((int)result
);
19336 if (temp2
) delete arg2
;
19341 if (temp2
) delete arg2
;
19347 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19350 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19351 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19353 bool temp2
= False
;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "tz", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19365 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_FromInt((int)result
);
19378 if (temp2
) delete arg2
;
19383 if (temp2
) delete arg2
;
19389 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19392 int arg2
= (int) wxDateTime::Monday_First
;
19393 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19394 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19396 bool temp3
= False
;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "flags",(char *) "tz", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19413 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_FromInt((int)result
);
19426 if (temp3
) delete arg3
;
19431 if (temp3
) delete arg3
;
19437 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19440 int arg2
= (int) wxDateTime::Monday_First
;
19441 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19442 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19444 bool temp3
= False
;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "flags",(char *) "tz", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19461 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_FromInt((int)result
);
19474 if (temp3
) delete arg3
;
19479 if (temp3
) delete arg3
;
19485 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19488 int arg2
= (int) wxDateTime::Country_Default
;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "country", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19519 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19522 wxDateTime
*arg2
= 0 ;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self",(char *) "datetime", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19536 if (arg2
== NULL
) {
19537 PyErr_SetString(PyExc_TypeError
,"null reference");
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19556 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19559 wxDateTime
*arg2
= 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "datetime", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19573 if (arg2
== NULL
) {
19574 PyErr_SetString(PyExc_TypeError
,"null reference");
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19593 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19596 wxDateTime
*arg2
= 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "datetime", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19610 if (arg2
== NULL
) {
19611 PyErr_SetString(PyExc_TypeError
,"null reference");
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19630 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19633 wxDateTime
*arg2
= 0 ;
19634 wxDateTime
*arg3
= 0 ;
19636 PyObject
* obj0
= 0 ;
19637 PyObject
* obj1
= 0 ;
19638 PyObject
* obj2
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self",(char *) "t1",(char *) "t2", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19649 if (arg2
== NULL
) {
19650 PyErr_SetString(PyExc_TypeError
,"null reference");
19653 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19656 if (arg3
== NULL
) {
19657 PyErr_SetString(PyExc_TypeError
,"null reference");
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19676 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19679 wxDateTime
*arg2
= 0 ;
19680 wxDateTime
*arg3
= 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 PyObject
* obj2
= 0 ;
19685 char *kwnames
[] = {
19686 (char *) "self",(char *) "t1",(char *) "t2", NULL
19689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19695 if (arg2
== NULL
) {
19696 PyErr_SetString(PyExc_TypeError
,"null reference");
19699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19702 if (arg3
== NULL
) {
19703 PyErr_SetString(PyExc_TypeError
,"null reference");
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19722 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19725 wxDateTime
*arg2
= 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self",(char *) "dt", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19739 if (arg2
== NULL
) {
19740 PyErr_SetString(PyExc_TypeError
,"null reference");
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19759 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19762 wxDateTime
*arg2
= 0 ;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self",(char *) "dt", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19776 if (arg2
== NULL
) {
19777 PyErr_SetString(PyExc_TypeError
,"null reference");
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19796 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19799 wxDateTime
*arg2
= 0 ;
19800 wxTimeSpan
*arg3
= 0 ;
19802 PyObject
* obj0
= 0 ;
19803 PyObject
* obj1
= 0 ;
19804 PyObject
* obj2
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "dt",(char *) "ts", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19815 if (arg2
== NULL
) {
19816 PyErr_SetString(PyExc_TypeError
,"null reference");
19819 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19822 if (arg3
== NULL
) {
19823 PyErr_SetString(PyExc_TypeError
,"null reference");
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19842 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19845 wxTimeSpan
*arg2
= 0 ;
19846 wxDateTime
*result
;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self",(char *) "diff", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19859 if (arg2
== NULL
) {
19860 PyErr_SetString(PyExc_TypeError
,"null reference");
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19867 result
= (wxDateTime
*) &_result_ref
;
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19880 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19883 wxDateSpan
*arg2
= 0 ;
19884 wxDateTime
*result
;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "diff", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19897 if (arg2
== NULL
) {
19898 PyErr_SetString(PyExc_TypeError
,"null reference");
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19905 result
= (wxDateTime
*) &_result_ref
;
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19918 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19921 wxTimeSpan
*arg2
= 0 ;
19922 wxDateTime
*result
;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self",(char *) "diff", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19935 if (arg2
== NULL
) {
19936 PyErr_SetString(PyExc_TypeError
,"null reference");
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19943 result
= (wxDateTime
*) &_result_ref
;
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19956 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19959 wxDateSpan
*arg2
= 0 ;
19960 wxDateTime
*result
;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "diff", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19973 if (arg2
== NULL
) {
19974 PyErr_SetString(PyExc_TypeError
,"null reference");
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19981 result
= (wxDateTime
*) &_result_ref
;
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19994 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19997 wxDateTime
*arg2
= 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "dt", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20011 if (arg2
== NULL
) {
20012 PyErr_SetString(PyExc_TypeError
,"null reference");
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 wxTimeSpan
* resultptr
;
20024 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20033 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20034 PyObject
*resultobj
;
20035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20036 wxTimeSpan
*arg2
= 0 ;
20037 wxDateTime
*result
;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20041 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20047 if (arg2
== NULL
) {
20048 PyErr_SetString(PyExc_TypeError
,"null reference");
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20055 result
= (wxDateTime
*) &_result_ref
;
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20068 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20069 PyObject
*resultobj
;
20070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20071 wxDateSpan
*arg2
= 0 ;
20072 wxDateTime
*result
;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20076 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20082 if (arg2
== NULL
) {
20083 PyErr_SetString(PyExc_TypeError
,"null reference");
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20090 result
= (wxDateTime
*) &_result_ref
;
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20103 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20108 argc
= PyObject_Length(args
);
20109 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20110 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20126 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20134 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20160 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20165 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20170 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20171 PyObject
*resultobj
;
20172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20173 wxTimeSpan
*arg2
= 0 ;
20174 wxDateTime
*result
;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20178 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20184 if (arg2
== NULL
) {
20185 PyErr_SetString(PyExc_TypeError
,"null reference");
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20192 result
= (wxDateTime
*) &_result_ref
;
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20205 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20206 PyObject
*resultobj
;
20207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20208 wxDateSpan
*arg2
= 0 ;
20209 wxDateTime
*result
;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20213 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20219 if (arg2
== NULL
) {
20220 PyErr_SetString(PyExc_TypeError
,"null reference");
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20227 result
= (wxDateTime
*) &_result_ref
;
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20240 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20245 argc
= PyObject_Length(args
);
20246 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20247 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20253 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20263 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20271 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20289 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20297 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20302 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20307 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20308 PyObject
*resultobj
;
20309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20310 wxTimeSpan
*arg2
= 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20315 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20321 if (arg2
== NULL
) {
20322 PyErr_SetString(PyExc_TypeError
,"null reference");
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 wxDateTime
* resultptr
;
20334 resultptr
= new wxDateTime((wxDateTime
&) result
);
20335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20343 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20344 PyObject
*resultobj
;
20345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20346 wxDateSpan
*arg2
= 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20351 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20357 if (arg2
== NULL
) {
20358 PyErr_SetString(PyExc_TypeError
,"null reference");
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20369 wxDateTime
* resultptr
;
20370 resultptr
= new wxDateTime((wxDateTime
&) result
);
20371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20379 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20384 argc
= PyObject_Length(args
);
20385 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20386 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20392 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20402 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20410 return _wrap_DateTime___add____SWIG_0(self
,args
);
20418 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20428 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20436 return _wrap_DateTime___add____SWIG_1(self
,args
);
20441 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20446 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20447 PyObject
*resultobj
;
20448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20449 wxDateTime
*arg2
= 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20454 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20460 if (arg2
== NULL
) {
20461 PyErr_SetString(PyExc_TypeError
,"null reference");
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20472 wxTimeSpan
* resultptr
;
20473 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20482 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20483 PyObject
*resultobj
;
20484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20485 wxTimeSpan
*arg2
= 0 ;
20487 PyObject
* obj0
= 0 ;
20488 PyObject
* obj1
= 0 ;
20490 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20496 if (arg2
== NULL
) {
20497 PyErr_SetString(PyExc_TypeError
,"null reference");
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 wxDateTime
* resultptr
;
20509 resultptr
= new wxDateTime((wxDateTime
&) result
);
20510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20518 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20519 PyObject
*resultobj
;
20520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20521 wxDateSpan
*arg2
= 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20526 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20532 if (arg2
== NULL
) {
20533 PyErr_SetString(PyExc_TypeError
,"null reference");
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20544 wxDateTime
* resultptr
;
20545 resultptr
= new wxDateTime((wxDateTime
&) result
);
20546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20554 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20559 argc
= PyObject_Length(args
);
20560 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20561 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20567 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20577 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20585 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20593 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20603 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20611 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20619 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20629 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20637 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20642 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20647 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20648 PyObject
*resultobj
;
20649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20650 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20655 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20676 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20677 PyObject
*resultobj
;
20678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20679 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20684 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20705 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20706 PyObject
*resultobj
;
20707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20708 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20713 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20734 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20735 PyObject
*resultobj
;
20736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20737 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20742 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20763 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20764 PyObject
*resultobj
;
20765 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20766 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20771 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20792 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20793 PyObject
*resultobj
;
20794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20795 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20797 PyObject
* obj0
= 0 ;
20798 PyObject
* obj1
= 0 ;
20800 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20821 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20824 wxString
*arg2
= 0 ;
20826 bool temp2
= False
;
20827 PyObject
* obj0
= 0 ;
20828 PyObject
* obj1
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self",(char *) "date", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20837 arg2
= wxString_in_helper(obj1
);
20838 if (arg2
== NULL
) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_FromInt((int)result
);
20863 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20866 wxString
*arg2
= 0 ;
20867 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20868 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20869 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20870 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20872 bool temp2
= False
;
20873 bool temp3
= False
;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 PyObject
* obj2
= 0 ;
20877 PyObject
* obj3
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 arg2
= wxString_in_helper(obj1
);
20887 if (arg2
== NULL
) SWIG_fail
;
20892 arg3
= wxString_in_helper(obj2
);
20893 if (arg3
== NULL
) SWIG_fail
;
20898 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20901 if (arg4
== NULL
) {
20902 PyErr_SetString(PyExc_TypeError
,"null reference");
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_FromInt((int)result
);
20936 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20939 wxString
*arg2
= 0 ;
20941 bool temp2
= False
;
20942 PyObject
* obj0
= 0 ;
20943 PyObject
* obj1
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self",(char *) "datetime", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 arg2
= wxString_in_helper(obj1
);
20953 if (arg2
== NULL
) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_FromInt((int)result
);
20978 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20981 wxString
*arg2
= 0 ;
20983 bool temp2
= False
;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "date", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20994 arg2
= wxString_in_helper(obj1
);
20995 if (arg2
== NULL
) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_FromInt((int)result
);
21020 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21023 wxString
*arg2
= 0 ;
21025 bool temp2
= False
;
21026 PyObject
* obj0
= 0 ;
21027 PyObject
* obj1
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self",(char *) "time", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 arg2
= wxString_in_helper(obj1
);
21037 if (arg2
== NULL
) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_FromInt((int)result
);
21062 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21065 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21066 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21067 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21068 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21070 bool temp2
= False
;
21071 bool temp3
= False
;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 PyObject
* obj2
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "format",(char *) "tz", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 arg2
= wxString_in_helper(obj1
);
21085 if (arg2
== NULL
) SWIG_fail
;
21091 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21114 if (temp3
) delete arg3
;
21123 if (temp3
) delete arg3
;
21129 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21161 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21193 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
;
21195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21197 PyObject
* obj0
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21225 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21257 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21260 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21262 return Py_BuildValue((char *)"");
21264 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21268 PyObject
* obj0
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "sec", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21274 arg1
= (long) SWIG_AsLong(obj0
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= wxTimeSpan::Seconds(arg1
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21284 wxTimeSpan
* resultptr
;
21285 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21294 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21297 char *kwnames
[] = {
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= wxTimeSpan::Second();
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 wxTimeSpan
* resultptr
;
21311 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21320 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "min", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21330 arg1
= (long) SWIG_AsLong(obj0
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= wxTimeSpan::Minutes(arg1
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 wxTimeSpan
* resultptr
;
21341 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21350 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21353 char *kwnames
[] = {
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= wxTimeSpan::Minute();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 wxTimeSpan
* resultptr
;
21367 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21376 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
;
21380 PyObject
* obj0
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "hours", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21386 arg1
= (long) SWIG_AsLong(obj0
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= wxTimeSpan::Hours(arg1
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 wxTimeSpan
* resultptr
;
21397 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21406 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21409 char *kwnames
[] = {
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= wxTimeSpan::Hour();
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 wxTimeSpan
* resultptr
;
21423 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21432 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "days", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21442 arg1
= (long) SWIG_AsLong(obj0
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= wxTimeSpan::Days(arg1
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 wxTimeSpan
* resultptr
;
21453 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21462 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21465 char *kwnames
[] = {
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= wxTimeSpan::Day();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21478 wxTimeSpan
* resultptr
;
21479 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21488 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21492 PyObject
* obj0
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "days", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21498 arg1
= (long) SWIG_AsLong(obj0
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= wxTimeSpan::Weeks(arg1
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21508 wxTimeSpan
* resultptr
;
21509 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21518 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21521 char *kwnames
[] = {
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= wxTimeSpan::Week();
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 wxTimeSpan
* resultptr
;
21535 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21544 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 long arg1
= (long) 0 ;
21547 long arg2
= (long) 0 ;
21548 long arg3
= (long) 0 ;
21549 long arg4
= (long) 0 ;
21550 wxTimeSpan
*result
;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 PyObject
* obj2
= 0 ;
21554 PyObject
* obj3
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21561 arg1
= (long) SWIG_AsLong(obj0
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21565 arg2
= (long) SWIG_AsLong(obj1
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 arg3
= (long) SWIG_AsLong(obj2
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 arg4
= (long) SWIG_AsLong(obj3
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21590 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21618 wxTimeSpan
*arg2
= 0 ;
21619 wxTimeSpan
*result
;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self",(char *) "diff", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21632 if (arg2
== NULL
) {
21633 PyErr_SetString(PyExc_TypeError
,"null reference");
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21640 result
= (wxTimeSpan
*) &_result_ref
;
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21653 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21656 wxTimeSpan
*arg2
= 0 ;
21657 wxTimeSpan
*result
;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "diff", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21670 if (arg2
== NULL
) {
21671 PyErr_SetString(PyExc_TypeError
,"null reference");
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21678 result
= (wxTimeSpan
*) &_result_ref
;
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21691 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21695 wxTimeSpan
*result
;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 char *kwnames
[] = {
21699 (char *) "self",(char *) "n", NULL
21702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 arg2
= (int) SWIG_AsInt(obj1
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21711 result
= (wxTimeSpan
*) &_result_ref
;
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21724 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21727 wxTimeSpan
*result
;
21728 PyObject
* obj0
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21740 result
= (wxTimeSpan
*) &_result_ref
;
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21753 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 wxTimeSpan
* resultptr
;
21774 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21783 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21786 wxTimeSpan
*arg2
= 0 ;
21787 wxTimeSpan
*result
;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "diff", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21800 if (arg2
== NULL
) {
21801 PyErr_SetString(PyExc_TypeError
,"null reference");
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21808 result
= (wxTimeSpan
*) &_result_ref
;
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21821 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21824 wxTimeSpan
*arg2
= 0 ;
21825 wxTimeSpan
*result
;
21826 PyObject
* obj0
= 0 ;
21827 PyObject
* obj1
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self",(char *) "diff", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21838 if (arg2
== NULL
) {
21839 PyErr_SetString(PyExc_TypeError
,"null reference");
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21846 result
= (wxTimeSpan
*) &_result_ref
;
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21859 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21863 wxTimeSpan
*result
;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self",(char *) "n", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21873 arg2
= (int) SWIG_AsInt(obj1
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21879 result
= (wxTimeSpan
*) &_result_ref
;
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21892 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21895 wxTimeSpan
*result
;
21896 PyObject
* obj0
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21908 result
= (wxTimeSpan
*) &_result_ref
;
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21921 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21924 wxTimeSpan
*arg2
= 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "other", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21938 if (arg2
== NULL
) {
21939 PyErr_SetString(PyExc_TypeError
,"null reference");
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 wxTimeSpan
* resultptr
;
21951 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21960 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21963 wxTimeSpan
*arg2
= 0 ;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "other", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21977 if (arg2
== NULL
) {
21978 PyErr_SetString(PyExc_TypeError
,"null reference");
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 wxTimeSpan
* resultptr
;
21990 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21999 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "n", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 arg2
= (int) SWIG_AsInt(obj1
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= wxTimeSpan___mul__(arg1
,arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22023 wxTimeSpan
* resultptr
;
22024 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22033 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "self",(char *) "n", NULL
22044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22047 arg2
= (int) SWIG_AsInt(obj1
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 wxTimeSpan
* resultptr
;
22058 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22067 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22070 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "other", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22099 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22102 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "other", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22131 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22134 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self",(char *) "other", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22166 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "other", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22198 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "other", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22227 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22230 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "other", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22259 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22287 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22343 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22346 wxTimeSpan
*arg2
= 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "ts", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22360 if (arg2
== NULL
) {
22361 PyErr_SetString(PyExc_TypeError
,"null reference");
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22380 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22383 wxTimeSpan
*arg2
= 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "ts", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22397 if (arg2
== NULL
) {
22398 PyErr_SetString(PyExc_TypeError
,"null reference");
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22417 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22420 wxTimeSpan
*arg2
= 0 ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self",(char *) "t", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22434 if (arg2
== NULL
) {
22435 PyErr_SetString(PyExc_TypeError
,"null reference");
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22454 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_FromInt((int)result
);
22480 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_FromInt((int)result
);
22506 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_FromInt((int)result
);
22532 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22536 PyObject
* obj0
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_FromInt((int)result
);
22558 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22579 hi
= PyLong_FromLong( (&result
)->GetHi() );
22580 lo
= PyLong_FromLong( (&result
)->GetLo() );
22581 shifter
= PyLong_FromLong(32);
22582 shifted
= PyNumber_Lshift(hi
, shifter
);
22583 resultobj
= PyNumber_Or(shifted
, lo
);
22586 Py_DECREF(shifter
);
22587 Py_DECREF(shifted
);
22595 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22615 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22616 hi
= PyLong_FromLong( (&result
)->GetHi() );
22617 lo
= PyLong_FromLong( (&result
)->GetLo() );
22618 shifter
= PyLong_FromLong(32);
22619 shifted
= PyNumber_Lshift(hi
, shifter
);
22620 resultobj
= PyNumber_Or(shifted
, lo
);
22623 Py_DECREF(shifter
);
22624 Py_DECREF(shifted
);
22632 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22635 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22636 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22638 bool temp2
= False
;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self",(char *) "format", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 arg2
= wxString_in_helper(obj1
);
22651 if (arg2
== NULL
) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22683 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22686 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22688 return Py_BuildValue((char *)"");
22690 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 int arg1
= (int) 0 ;
22693 int arg2
= (int) 0 ;
22694 int arg3
= (int) 0 ;
22695 int arg4
= (int) 0 ;
22696 wxDateSpan
*result
;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 PyObject
* obj2
= 0 ;
22700 PyObject
* obj3
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22707 arg1
= (int) SWIG_AsInt(obj0
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 arg2
= (int) SWIG_AsInt(obj1
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 arg3
= (int) SWIG_AsInt(obj2
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22719 arg4
= (int) SWIG_AsInt(obj3
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22736 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 Py_INCREF(Py_None
); resultobj
= Py_None
;
22761 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "days", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22771 arg1
= (int) SWIG_AsInt(obj0
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= wxDateSpan::Days(arg1
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 wxDateSpan
* resultptr
;
22782 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22791 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22794 char *kwnames
[] = {
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= wxDateSpan::Day();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 wxDateSpan
* resultptr
;
22808 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22817 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "weeks", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22827 arg1
= (int) SWIG_AsInt(obj0
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= wxDateSpan::Weeks(arg1
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 wxDateSpan
* resultptr
;
22838 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22847 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22850 char *kwnames
[] = {
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= wxDateSpan::Week();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22863 wxDateSpan
* resultptr
;
22864 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22873 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "mon", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22883 arg1
= (int) SWIG_AsInt(obj0
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= wxDateSpan::Months(arg1
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22893 wxDateSpan
* resultptr
;
22894 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22903 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22906 char *kwnames
[] = {
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 result
= wxDateSpan::Month();
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22919 wxDateSpan
* resultptr
;
22920 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22929 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "years", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22939 arg1
= (int) SWIG_AsInt(obj0
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= wxDateSpan::Years(arg1
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 wxDateSpan
* resultptr
;
22950 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22959 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22962 char *kwnames
[] = {
22966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= wxDateSpan::Year();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 wxDateSpan
* resultptr
;
22976 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22985 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22989 wxDateSpan
*result
;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self",(char *) "n", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22999 arg2
= (int) SWIG_AsInt(obj1
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23005 result
= (wxDateSpan
*) &_result_ref
;
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23018 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23022 wxDateSpan
*result
;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self",(char *) "n", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 arg2
= (int) SWIG_AsInt(obj1
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23038 result
= (wxDateSpan
*) &_result_ref
;
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23051 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23055 wxDateSpan
*result
;
23056 PyObject
* obj0
= 0 ;
23057 PyObject
* obj1
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self",(char *) "n", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23065 arg2
= (int) SWIG_AsInt(obj1
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23071 result
= (wxDateSpan
*) &_result_ref
;
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23084 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23088 wxDateSpan
*result
;
23089 PyObject
* obj0
= 0 ;
23090 PyObject
* obj1
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self",(char *) "n", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23098 arg2
= (int) SWIG_AsInt(obj1
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23104 result
= (wxDateSpan
*) &_result_ref
;
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23117 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= SWIG_FromInt((int)result
);
23143 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self", NULL
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= SWIG_FromInt((int)result
);
23169 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_FromInt((int)result
);
23195 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_FromInt((int)result
);
23221 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
;
23223 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23225 PyObject
* obj0
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= SWIG_FromInt((int)result
);
23247 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23250 wxDateSpan
*arg2
= 0 ;
23251 wxDateSpan
*result
;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "other", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23264 if (arg2
== NULL
) {
23265 PyErr_SetString(PyExc_TypeError
,"null reference");
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23272 result
= (wxDateSpan
*) &_result_ref
;
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23285 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23288 wxDateSpan
*arg2
= 0 ;
23289 wxDateSpan
*result
;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "other", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23302 if (arg2
== NULL
) {
23303 PyErr_SetString(PyExc_TypeError
,"null reference");
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23310 result
= (wxDateSpan
*) &_result_ref
;
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23323 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23326 wxDateSpan
*result
;
23327 PyObject
* obj0
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23339 result
= (wxDateSpan
*) &_result_ref
;
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23352 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23356 wxDateSpan
*result
;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self",(char *) "factor", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23366 arg2
= (int) SWIG_AsInt(obj1
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23372 result
= (wxDateSpan
*) &_result_ref
;
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23385 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23388 wxDateSpan
*arg2
= 0 ;
23389 wxDateSpan
*result
;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "other", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23402 if (arg2
== NULL
) {
23403 PyErr_SetString(PyExc_TypeError
,"null reference");
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23410 result
= (wxDateSpan
*) &_result_ref
;
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23423 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23426 wxDateSpan
*arg2
= 0 ;
23427 wxDateSpan
*result
;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self",(char *) "other", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23440 if (arg2
== NULL
) {
23441 PyErr_SetString(PyExc_TypeError
,"null reference");
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23448 result
= (wxDateSpan
*) &_result_ref
;
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23461 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23464 wxDateSpan
*result
;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23477 result
= (wxDateSpan
*) &_result_ref
;
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23490 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23494 wxDateSpan
*result
;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self",(char *) "factor", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23504 arg2
= (int) SWIG_AsInt(obj1
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23510 result
= (wxDateSpan
*) &_result_ref
;
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23523 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23526 wxDateSpan
*arg2
= 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "other", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23540 if (arg2
== NULL
) {
23541 PyErr_SetString(PyExc_TypeError
,"null reference");
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23552 wxDateSpan
* resultptr
;
23553 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23562 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23565 wxDateSpan
*arg2
= 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "other", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23579 if (arg2
== NULL
) {
23580 PyErr_SetString(PyExc_TypeError
,"null reference");
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 wxDateSpan
* resultptr
;
23592 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23601 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "n", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 arg2
= (int) SWIG_AsInt(obj1
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= wxDateSpan___mul__(arg1
,arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23625 wxDateSpan
* resultptr
;
23626 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23635 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "n", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 arg2
= (int) SWIG_AsInt(obj1
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= wxDateSpan___rmul__(arg1
,arg2
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 wxDateSpan
* resultptr
;
23660 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23669 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23672 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self",(char *) "other", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23701 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23704 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "other", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23733 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23736 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23738 return Py_BuildValue((char *)"");
23740 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23743 char *kwnames
[] = {
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (long)wxGetLocalTime();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= SWIG_FromLong((long)result
);
23762 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23765 char *kwnames
[] = {
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (long)wxGetUTCTime();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_FromLong((long)result
);
23784 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23787 char *kwnames
[] = {
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (long)wxGetCurrentTime();
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= SWIG_FromLong((long)result
);
23806 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23809 char *kwnames
[] = {
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= wxGetLocalTimeMillis();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23822 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23823 hi
= PyLong_FromLong( (&result
)->GetHi() );
23824 lo
= PyLong_FromLong( (&result
)->GetLo() );
23825 shifter
= PyLong_FromLong(32);
23826 shifted
= PyNumber_Lshift(hi
, shifter
);
23827 resultobj
= PyNumber_Or(shifted
, lo
);
23830 Py_DECREF(shifter
);
23831 Py_DECREF(shifted
);
23839 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23840 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23845 static PyObject
*_wrap_DefaultDateTime_get() {
23848 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23853 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23856 wxDataFormat
*result
;
23857 PyObject
* obj0
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "type", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23863 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23879 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23880 PyObject
*resultobj
;
23881 wxString
*arg1
= 0 ;
23882 wxDataFormat
*result
;
23883 bool temp1
= False
;
23884 PyObject
* obj0
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "format", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23891 arg1
= wxString_in_helper(obj0
);
23892 if (arg1
== NULL
) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23917 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
;
23919 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23920 PyObject
* obj0
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23935 Py_INCREF(Py_None
); resultobj
= Py_None
;
23942 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23943 PyObject
*resultobj
;
23944 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23950 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23971 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23972 PyObject
*resultobj
;
23973 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23976 PyObject
* obj0
= 0 ;
23977 PyObject
* obj1
= 0 ;
23979 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24000 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24001 PyObject
*resultobj
;
24002 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24003 wxDataFormat
*arg2
= 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24008 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24014 if (arg2
== NULL
) {
24015 PyErr_SetString(PyExc_TypeError
,"null reference");
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24034 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24039 argc
= PyObject_Length(args
);
24040 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24041 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24047 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24057 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24065 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24073 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24081 _v
= SWIG_CheckInt(argv
[1]);
24083 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24088 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24093 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24094 PyObject
*resultobj
;
24095 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24096 wxDataFormat
*arg2
= 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24101 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24107 if (arg2
== NULL
) {
24108 PyErr_SetString(PyExc_TypeError
,"null reference");
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24127 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24132 argc
= PyObject_Length(args
);
24133 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24134 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24140 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24150 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24158 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24174 _v
= SWIG_CheckInt(argv
[1]);
24176 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24181 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24186 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "format", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->SetType((wxDataFormatId
)arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_FromInt((int)result
);
24241 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= ((wxDataFormat
const *)arg1
)->GetId();
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24273 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24276 wxString
*arg2
= 0 ;
24277 bool temp2
= False
;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "format", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 arg2
= wxString_in_helper(obj1
);
24289 if (arg2
== NULL
) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 (arg1
)->SetId((wxString
const &)*arg2
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 Py_INCREF(Py_None
); resultobj
= Py_None
;
24314 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24317 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24319 return Py_BuildValue((char *)"");
24321 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24322 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24327 static PyObject
*_wrap_FormatInvalid_get() {
24330 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24335 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 Py_INCREF(Py_None
); resultobj
= Py_None
;
24360 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24363 int arg2
= (int) wxDataObject::Get
;
24364 SwigValueWrapper
< wxDataFormat
> result
;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self",(char *) "dir", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24386 wxDataFormat
* resultptr
;
24387 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24396 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24399 int arg2
= (int) wxDataObject::Get
;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "dir", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24428 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24431 wxDataFormat
*arg2
= 0 ;
24432 int arg3
= (int) wxDataObject::Get
;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 PyObject
* obj2
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "format",(char *) "dir", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24447 if (arg2
== NULL
) {
24448 PyErr_SetString(PyExc_TypeError
,"null reference");
24452 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24474 wxDataFormat
*arg2
= 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "format", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24488 if (arg2
== NULL
) {
24489 PyErr_SetString(PyExc_TypeError
,"null reference");
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24506 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24509 int arg2
= (int) wxDataObject::Get
;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "dir", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= result
;
24538 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24541 wxDataFormat
*arg2
= 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self",(char *) "format", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24555 if (arg2
== NULL
) {
24556 PyErr_SetString(PyExc_TypeError
,"null reference");
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
;
24573 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24576 wxDataFormat
*arg2
= 0 ;
24577 PyObject
*arg3
= (PyObject
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "format",(char *) "data", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24592 if (arg2
== NULL
) {
24593 PyErr_SetString(PyExc_TypeError
,"null reference");
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24613 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24616 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24618 return Py_BuildValue((char *)"");
24620 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24623 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24624 wxDataObjectSimple
*result
;
24625 PyObject
* obj0
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "format", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24635 if (arg1
== NULL
) {
24636 PyErr_SetString(PyExc_TypeError
,"null reference");
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24654 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24657 wxDataFormat
*result
;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24670 result
= (wxDataFormat
*) &_result_ref
;
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24683 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24686 wxDataFormat
*arg2
= 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "format", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24699 if (arg2
== NULL
) {
24700 PyErr_SetString(PyExc_TypeError
,"null reference");
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 Py_INCREF(Py_None
); resultobj
= Py_None
;
24717 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24743 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= result
;
24769 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24772 PyObject
*arg2
= (PyObject
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "data", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24800 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24803 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24805 return Py_BuildValue((char *)"");
24807 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24810 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24811 wxPyDataObjectSimple
*result
;
24812 PyObject
* obj0
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "format", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24822 if (arg1
== NULL
) {
24823 PyErr_SetString(PyExc_TypeError
,"null reference");
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24841 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24844 PyObject
*arg2
= (PyObject
*) 0 ;
24845 PyObject
*arg3
= (PyObject
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 PyObject
* obj2
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "self",(char *) "_class", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 Py_INCREF(Py_None
); resultobj
= Py_None
;
24872 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24875 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24877 return Py_BuildValue((char *)"");
24879 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxDataObjectComposite
*result
;
24882 char *kwnames
[] = {
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24901 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24904 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24905 bool arg3
= (bool) False
;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 PyObject
* obj2
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24917 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24919 arg3
= (bool) SWIG_AsBool(obj2
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->Add(arg2
,arg3
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24936 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24939 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24941 return Py_BuildValue((char *)"");
24943 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
;
24945 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24946 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24947 wxTextDataObject
*result
;
24948 bool temp1
= False
;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "text", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24957 arg1
= wxString_in_helper(obj0
);
24958 if (arg1
== NULL
) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24984 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 result
= (size_t)(arg1
)->GetTextLength();
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25010 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= (arg1
)->GetText();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25042 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25045 wxString
*arg2
= 0 ;
25046 bool temp2
= False
;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self",(char *) "text", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 arg2
= wxString_in_helper(obj1
);
25058 if (arg2
== NULL
) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetText((wxString
const &)*arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25086 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25088 return Py_BuildValue((char *)"");
25090 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25093 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25094 wxPyTextDataObject
*result
;
25095 bool temp1
= False
;
25096 PyObject
* obj0
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "text", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25104 arg1
= wxString_in_helper(obj0
);
25105 if (arg1
== NULL
) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25131 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25134 PyObject
*arg2
= (PyObject
*) 0 ;
25135 PyObject
*arg3
= (PyObject
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 PyObject
* obj2
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self",(char *) "self",(char *) "_class", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 Py_INCREF(Py_None
); resultobj
= Py_None
;
25162 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25165 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25167 return Py_BuildValue((char *)"");
25169 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25172 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25173 wxBitmapDataObject
*result
;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "bitmap", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25184 if (arg1
== NULL
) {
25185 PyErr_SetString(PyExc_TypeError
,"null reference");
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25203 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 wxBitmap
* resultptr
;
25224 resultptr
= new wxBitmap((wxBitmap
&) result
);
25225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25233 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25236 wxBitmap
*arg2
= 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "bitmap", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25249 if (arg2
== NULL
) {
25250 PyErr_SetString(PyExc_TypeError
,"null reference");
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 Py_INCREF(Py_None
); resultobj
= Py_None
;
25267 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25270 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25272 return Py_BuildValue((char *)"");
25274 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25277 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25278 wxPyBitmapDataObject
*result
;
25279 PyObject
* obj0
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "bitmap", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25289 if (arg1
== NULL
) {
25290 PyErr_SetString(PyExc_TypeError
,"null reference");
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25308 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25311 PyObject
*arg2
= (PyObject
*) 0 ;
25312 PyObject
*arg3
= (PyObject
*) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 PyObject
* obj2
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "self",(char *) "_class", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 Py_INCREF(Py_None
); resultobj
= Py_None
;
25339 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25342 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25344 return Py_BuildValue((char *)"");
25346 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxFileDataObject
*result
;
25349 char *kwnames
[] = {
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (wxFileDataObject
*)new wxFileDataObject();
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25368 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25371 wxArrayString
*result
;
25372 PyObject
* obj0
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25384 result
= (wxArrayString
*) &_result_ref
;
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= wxArrayString2PyList_helper(*result
);
25399 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25402 wxString
*arg2
= 0 ;
25403 bool temp2
= False
;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "filename", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25414 arg2
= wxString_in_helper(obj1
);
25415 if (arg2
== NULL
) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 (arg1
)->AddFile((wxString
const &)*arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 Py_INCREF(Py_None
); resultobj
= Py_None
;
25440 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25443 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25445 return Py_BuildValue((char *)"");
25447 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
;
25449 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25450 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25451 wxCustomDataObject
*result
;
25452 PyObject
* obj0
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "format", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25462 if (arg1
== NULL
) {
25463 PyErr_SetString(PyExc_TypeError
,"null reference");
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25481 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25484 PyObject
*arg2
= (PyObject
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self",(char *) "data", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25512 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self", NULL
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (size_t)(arg1
)->GetSize();
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25538 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "self", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= result
;
25564 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25567 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25569 return Py_BuildValue((char *)"");
25571 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25573 wxURLDataObject
*result
;
25574 char *kwnames
[] = {
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= (wxURLDataObject
*)new wxURLDataObject();
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25593 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25597 PyObject
* obj0
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (arg1
)->GetURL();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25625 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25628 wxString
*arg2
= 0 ;
25629 bool temp2
= False
;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "url", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25640 arg2
= wxString_in_helper(obj1
);
25641 if (arg2
== NULL
) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 (arg1
)->SetURL((wxString
const &)*arg2
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 Py_INCREF(Py_None
); resultobj
= Py_None
;
25666 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25669 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25671 return Py_BuildValue((char *)"");
25673 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxMetafileDataObject
*result
;
25676 char *kwnames
[] = {
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25695 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25698 wxMetafile
*arg2
= 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "metafile", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25711 if (arg2
== NULL
) {
25712 PyErr_SetString(PyExc_TypeError
,"null reference");
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 Py_INCREF(Py_None
); resultobj
= Py_None
;
25729 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25733 PyObject
* obj0
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 wxMetafile
* resultptr
;
25750 resultptr
= new wxMetafile((wxMetafile
&) result
);
25751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25759 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25762 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25764 return Py_BuildValue((char *)"");
25766 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25770 PyObject
* obj0
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "res", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25776 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25794 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxWindow
*arg1
= (wxWindow
*) 0 ;
25797 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25798 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25799 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25800 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25801 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25802 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25803 wxPyDropSource
*result
;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25807 PyObject
* obj3
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25819 if (arg2
== NULL
) {
25820 PyErr_SetString(PyExc_TypeError
,"null reference");
25825 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25828 if (arg3
== NULL
) {
25829 PyErr_SetString(PyExc_TypeError
,"null reference");
25834 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25837 if (arg4
== NULL
) {
25838 PyErr_SetString(PyExc_TypeError
,"null reference");
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25856 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25859 PyObject
*arg2
= (PyObject
*) 0 ;
25860 PyObject
*arg3
= (PyObject
*) 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 PyObject
* obj2
= 0 ;
25865 PyObject
* obj3
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25875 arg4
= (int) SWIG_AsInt(obj3
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 Py_INCREF(Py_None
); resultobj
= Py_None
;
25891 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25894 PyObject
* obj0
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self", NULL
25899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 Py_INCREF(Py_None
); resultobj
= Py_None
;
25916 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25919 wxDataObject
*arg2
= 0 ;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "data", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25932 if (arg2
== NULL
) {
25933 PyErr_SetString(PyExc_TypeError
,"null reference");
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->SetData(*arg2
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25950 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25953 wxDataObject
*result
;
25954 PyObject
* obj0
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25976 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
;
25978 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25980 wxCursor
*arg3
= 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 PyObject
* obj2
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "res",(char *) "cursor", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25993 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25996 if (arg3
== NULL
) {
25997 PyErr_SetString(PyExc_TypeError
,"null reference");
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 Py_INCREF(Py_None
); resultobj
= Py_None
;
26014 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26017 int arg2
= (int) wxDrag_CopyOnly
;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "flags", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26029 arg2
= (int) SWIG_AsInt(obj1
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (int)(arg1
)->DoDragDrop(arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_FromInt((int)result
);
26046 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "effect", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26060 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26078 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26081 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26083 return Py_BuildValue((char *)"");
26085 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26088 wxPyDropTarget
*result
;
26089 PyObject
* obj0
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "dataObject", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26097 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26113 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26116 PyObject
*arg2
= (PyObject
*) 0 ;
26117 PyObject
*arg3
= (PyObject
*) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 PyObject
* obj2
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self",(char *) "self",(char *) "_class", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 Py_INCREF(Py_None
); resultobj
= Py_None
;
26169 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26172 wxDataObject
*result
;
26173 PyObject
* obj0
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26195 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26198 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "dataObject", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26209 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 (arg1
)->SetDataObject(arg2
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 Py_INCREF(Py_None
); resultobj
= Py_None
;
26224 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 PyObject
* obj2
= 0 ;
26234 PyObject
* obj3
= 0 ;
26235 char *kwnames
[] = {
26236 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26242 arg2
= (int) SWIG_AsInt(obj1
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26244 arg3
= (int) SWIG_AsInt(obj2
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26246 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_FromInt((int)result
);
26262 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 PyObject
* obj2
= 0 ;
26272 PyObject
* obj3
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26280 arg2
= (int) SWIG_AsInt(obj1
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26282 arg3
= (int) SWIG_AsInt(obj2
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26284 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_FromInt((int)result
);
26300 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->base_OnLeave();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 Py_INCREF(Py_None
); resultobj
= Py_None
;
26325 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
;
26327 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 PyObject
* obj2
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "x",(char *) "y", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 arg2
= (int) SWIG_AsInt(obj1
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26343 arg3
= (int) SWIG_AsInt(obj2
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26361 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (bool)(arg1
)->GetData();
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26389 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26392 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26394 return Py_BuildValue((char *)"");
26396 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxPyTextDropTarget
*result
;
26399 char *kwnames
[] = {
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26418 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26421 PyObject
*arg2
= (PyObject
*) 0 ;
26422 PyObject
*arg3
= (PyObject
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 PyObject
* obj2
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "self",(char *) "_class", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 Py_INCREF(Py_None
); resultobj
= Py_None
;
26449 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 PyObject
* obj2
= 0 ;
26459 PyObject
* obj3
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26467 arg2
= (int) SWIG_AsInt(obj1
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26469 arg3
= (int) SWIG_AsInt(obj2
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26471 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= SWIG_FromInt((int)result
);
26487 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 PyObject
* obj2
= 0 ;
26497 PyObject
* obj3
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26505 arg2
= (int) SWIG_AsInt(obj1
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26507 arg3
= (int) SWIG_AsInt(obj2
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26509 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= SWIG_FromInt((int)result
);
26525 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 (arg1
)->base_OnLeave();
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 Py_INCREF(Py_None
); resultobj
= Py_None
;
26550 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 PyObject
* obj2
= 0 ;
26559 char *kwnames
[] = {
26560 (char *) "self",(char *) "x",(char *) "y", NULL
26563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26566 arg2
= (int) SWIG_AsInt(obj1
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26568 arg3
= (int) SWIG_AsInt(obj2
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26586 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 PyObject
* obj2
= 0 ;
26596 PyObject
* obj3
= 0 ;
26597 char *kwnames
[] = {
26598 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26604 arg2
= (int) SWIG_AsInt(obj1
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26606 arg3
= (int) SWIG_AsInt(obj2
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26608 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_FromInt((int)result
);
26624 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26627 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26629 return Py_BuildValue((char *)"");
26631 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxPyFileDropTarget
*result
;
26634 char *kwnames
[] = {
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26653 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26656 PyObject
*arg2
= (PyObject
*) 0 ;
26657 PyObject
*arg3
= (PyObject
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 PyObject
* obj2
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "self",(char *) "_class", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 PyObject
* obj2
= 0 ;
26694 PyObject
* obj3
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26702 arg2
= (int) SWIG_AsInt(obj1
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26704 arg3
= (int) SWIG_AsInt(obj2
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26706 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_FromInt((int)result
);
26722 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 PyObject
* obj2
= 0 ;
26732 PyObject
* obj3
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26740 arg2
= (int) SWIG_AsInt(obj1
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26742 arg3
= (int) SWIG_AsInt(obj2
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26744 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_FromInt((int)result
);
26760 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26763 PyObject
* obj0
= 0 ;
26764 char *kwnames
[] = {
26765 (char *) "self", NULL
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 (arg1
)->base_OnLeave();
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 PyObject
* obj2
= 0 ;
26794 char *kwnames
[] = {
26795 (char *) "self",(char *) "x",(char *) "y", NULL
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26801 arg2
= (int) SWIG_AsInt(obj1
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26803 arg3
= (int) SWIG_AsInt(obj2
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 PyObject
* obj3
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 arg2
= (int) SWIG_AsInt(obj1
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26841 arg3
= (int) SWIG_AsInt(obj2
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26843 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_FromInt((int)result
);
26859 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26862 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26864 return Py_BuildValue((char *)"");
26866 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxClipboard
*result
;
26869 char *kwnames
[] = {
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (wxClipboard
*)new wxClipboard();
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26888 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
;
26890 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 Py_INCREF(Py_None
); resultobj
= Py_None
;
26913 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26917 PyObject
* obj0
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->Open();
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 Py_INCREF(Py_None
); resultobj
= Py_None
;
26966 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26994 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
;
26996 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26997 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self",(char *) "data", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27009 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (bool)(arg1
)->AddData(arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27026 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27029 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "data", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27041 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 result
= (bool)(arg1
)->SetData(arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27058 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27061 wxDataFormat
*arg2
= 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "format", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27075 if (arg2
== NULL
) {
27076 PyErr_SetString(PyExc_TypeError
,"null reference");
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27095 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27098 wxDataObject
*arg2
= 0 ;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self",(char *) "data", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27112 if (arg2
== NULL
) {
27113 PyErr_SetString(PyExc_TypeError
,"null reference");
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (bool)(arg1
)->GetData(*arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27132 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27135 PyObject
* obj0
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 Py_INCREF(Py_None
); resultobj
= Py_None
;
27157 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 char *kwnames
[] = {
27163 (char *) "self", NULL
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (bool)(arg1
)->Flush();
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27185 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
;
27187 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27188 bool arg2
= (bool) True
;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "primary", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 arg2
= (bool) SWIG_AsBool(obj1
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 (arg1
)->UsePrimarySelection(arg2
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27219 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27221 return Py_BuildValue((char *)"");
27223 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27224 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27229 static PyObject
*_wrap_TheClipboard_get() {
27232 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27237 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27240 wxClipboardLocker
*result
;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "clipboard", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27265 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 Py_INCREF(Py_None
); resultobj
= Py_None
;
27290 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27294 PyObject
* obj0
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "self", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27318 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27321 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27323 return Py_BuildValue((char *)"");
27325 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 int arg1
= (int) 0 ;
27328 int arg2
= (int) 0 ;
27329 int arg3
= (int) 0 ;
27330 int arg4
= (int) 0 ;
27331 wxVideoMode
*result
;
27332 PyObject
* obj0
= 0 ;
27333 PyObject
* obj1
= 0 ;
27334 PyObject
* obj2
= 0 ;
27335 PyObject
* obj3
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27342 arg1
= (int) SWIG_AsInt(obj0
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 arg2
= (int) SWIG_AsInt(obj1
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 arg3
= (int) SWIG_AsInt(obj2
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27354 arg4
= (int) SWIG_AsInt(obj3
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27371 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
;
27373 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27374 PyObject
* obj0
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 Py_INCREF(Py_None
); resultobj
= Py_None
;
27396 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27399 wxVideoMode
*arg2
= 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "other", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27413 if (arg2
== NULL
) {
27414 PyErr_SetString(PyExc_TypeError
,"null reference");
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27433 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27437 PyObject
* obj0
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_FromInt((int)result
);
27459 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27463 PyObject
* obj0
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_FromInt((int)result
);
27485 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_FromInt((int)result
);
27511 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27539 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27542 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self",(char *) "other", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27571 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27574 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "other", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27603 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
;
27605 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27607 PyObject
* obj0
= 0 ;
27608 PyObject
* obj1
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self",(char *) "w", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27616 arg2
= (int) SWIG_AsInt(obj1
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27618 if (arg1
) (arg1
)->w
= arg2
;
27620 Py_INCREF(Py_None
); resultobj
= Py_None
;
27627 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 result
= (int) ((arg1
)->w
);
27641 resultobj
= SWIG_FromInt((int)result
);
27648 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "h", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 arg2
= (int) SWIG_AsInt(obj1
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27663 if (arg1
) (arg1
)->h
= arg2
;
27665 Py_INCREF(Py_None
); resultobj
= Py_None
;
27672 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27676 PyObject
* obj0
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "self", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 result
= (int) ((arg1
)->h
);
27686 resultobj
= SWIG_FromInt((int)result
);
27693 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
;
27695 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self",(char *) "bpp", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27706 arg2
= (int) SWIG_AsInt(obj1
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27708 if (arg1
) (arg1
)->bpp
= arg2
;
27710 Py_INCREF(Py_None
); resultobj
= Py_None
;
27717 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27718 PyObject
*resultobj
;
27719 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27721 PyObject
* obj0
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27729 result
= (int) ((arg1
)->bpp
);
27731 resultobj
= SWIG_FromInt((int)result
);
27738 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27742 PyObject
* obj0
= 0 ;
27743 PyObject
* obj1
= 0 ;
27744 char *kwnames
[] = {
27745 (char *) "self",(char *) "refresh", NULL
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27751 arg2
= (int) SWIG_AsInt(obj1
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27753 if (arg1
) (arg1
)->refresh
= arg2
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27762 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27774 result
= (int) ((arg1
)->refresh
);
27776 resultobj
= SWIG_FromInt((int)result
);
27783 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27786 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27788 return Py_BuildValue((char *)"");
27790 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27791 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27796 static PyObject
*_wrap_DefaultVideoMode_get() {
27799 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27804 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 size_t arg1
= (size_t) 0 ;
27808 PyObject
* obj0
= 0 ;
27809 char *kwnames
[] = {
27810 (char *) "index", NULL
27813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27815 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 result
= (wxDisplay
*)new wxDisplay(arg1
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27832 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
;
27834 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27850 Py_INCREF(Py_None
); resultobj
= Py_None
;
27857 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27860 char *kwnames
[] = {
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= (size_t)wxDisplay::GetCount();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27879 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxPoint
*arg1
= 0 ;
27884 PyObject
* obj0
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "pt", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27892 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_FromInt((int)result
);
27908 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxWindow
*arg1
= (wxWindow
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "window", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 result
= (int)wxDisplay::GetFromWindow(arg1
);
27924 wxPyEndAllowThreads(__tstate
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= SWIG_FromInt((int)result
);
27934 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27935 PyObject
*resultobj
;
27936 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27938 PyObject
* obj0
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "self", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27948 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27962 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27963 PyObject
*resultobj
;
27964 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 char *kwnames
[] = {
27968 (char *) "self", NULL
27971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27982 wxRect
* resultptr
;
27983 resultptr
= new wxRect((wxRect
&) result
);
27984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27992 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27996 PyObject
* obj0
= 0 ;
27997 char *kwnames
[] = {
27998 (char *) "self", NULL
28001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 result
= ((wxDisplay
const *)arg1
)->GetName();
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28024 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28028 PyObject
* obj0
= 0 ;
28029 char *kwnames
[] = {
28030 (char *) "self", NULL
28033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28052 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
;
28054 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28055 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28056 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "self",(char *) "mode", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28071 if (arg2
== NULL
) {
28072 PyErr_SetString(PyExc_TypeError
,"null reference");
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
;
28090 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
;
28092 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28093 wxVideoMode result
;
28094 PyObject
* obj0
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "self", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28110 wxVideoMode
* resultptr
;
28111 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28120 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28123 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28124 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28126 PyObject
* obj0
= 0 ;
28127 PyObject
* obj1
= 0 ;
28128 char *kwnames
[] = {
28129 (char *) "self",(char *) "mode", NULL
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28139 if (arg2
== NULL
) {
28140 PyErr_SetString(PyExc_TypeError
,"null reference");
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28160 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 (arg1
)->ResetMode();
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 Py_INCREF(Py_None
); resultobj
= Py_None
;
28185 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28188 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28190 return Py_BuildValue((char *)"");
28192 static PyMethodDef SwigMethods
[] = {
28193 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28200 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28207 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28267 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28275 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28291 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28296 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28299 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28302 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28308 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28322 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28328 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28334 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28337 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28351 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28354 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28355 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28358 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28385 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28387 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28389 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28391 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28398 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28404 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28417 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28422 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28425 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28442 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28450 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28496 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28524 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28534 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28550 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28566 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28580 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28589 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28632 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28635 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28638 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28642 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28734 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28735 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28736 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28737 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28738 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28739 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28740 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28741 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28742 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28743 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28754 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28799 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28833 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28841 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28842 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28847 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28856 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28863 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28866 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28869 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28874 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28877 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28881 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28884 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28888 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28893 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28897 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28901 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28911 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28922 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28930 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28938 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28951 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28955 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28973 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28993 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28994 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28996 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28997 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28999 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29000 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29002 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29003 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29005 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29006 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29008 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29009 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29011 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29012 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29014 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29015 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29017 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29020 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29021 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29023 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29026 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29027 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29029 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29030 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29032 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29035 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29036 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29038 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29039 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29041 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29042 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29044 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29045 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29047 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29048 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29050 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29051 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29053 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29054 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29056 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29057 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29059 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29062 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29063 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29065 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29066 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29068 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29069 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29071 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29072 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29074 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29075 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29077 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29078 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29080 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29083 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29084 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29086 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29087 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29089 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29090 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29092 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29095 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29098 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29099 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29101 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29102 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29104 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29105 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29107 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29108 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29110 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29111 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29113 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29114 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29116 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29117 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29119 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29120 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29122 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29123 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29125 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29126 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29128 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29129 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29131 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29132 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29134 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29135 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29137 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29138 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29140 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29141 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29143 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29144 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29146 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29147 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29149 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29150 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29152 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29153 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29155 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29156 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29158 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29159 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29161 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29162 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29164 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29165 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29167 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29168 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29170 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29171 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29173 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29174 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29176 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29177 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29179 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29180 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29182 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29183 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29185 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29188 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29189 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29191 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29192 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29194 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29195 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29197 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29198 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29200 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29201 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29203 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29204 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29206 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29207 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29209 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29210 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29212 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29215 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29218 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29221 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29224 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29227 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29230 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29233 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) ((wxSizer
*) x
));
29236 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29239 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29242 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29245 static void *_p_wxEventTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) ((wxEvent
*) x
));
29248 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29251 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29254 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29255 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29257 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29258 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29260 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29261 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29263 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29264 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29266 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29269 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29272 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29275 static void *_p_wxControlTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29278 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29281 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29282 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29284 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29285 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29287 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29288 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29290 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29293 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29296 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29299 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29302 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29305 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29308 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29309 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29311 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29314 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29315 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29317 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29320 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29323 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29326 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29329 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29332 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29335 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29338 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29341 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29344 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29347 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29348 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29350 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29351 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29353 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29354 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29356 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29357 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29359 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29360 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29362 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29363 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29365 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29366 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29368 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29369 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29371 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29372 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29374 static void *_p_wxImageTo_p_wxObject(void *x
) {
29375 return (void *)((wxObject
*) ((wxImage
*) x
));
29377 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29378 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29380 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29381 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29383 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29384 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29386 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29389 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29390 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29392 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29393 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29395 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29396 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29398 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29399 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29401 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29404 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29405 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29407 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29408 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29410 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29413 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29414 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29416 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29417 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29419 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29420 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29422 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29423 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29425 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29426 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29428 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29429 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29431 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29434 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29435 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29437 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29438 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29440 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29441 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29443 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29446 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29447 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29449 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29452 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29455 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29456 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29458 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29459 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29461 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29462 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29464 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29465 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29467 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29468 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29470 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29471 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29473 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29474 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29476 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29477 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29479 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29480 return (void *)((wxWindow
*) ((wxControl
*) x
));
29482 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29483 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29485 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29486 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29488 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29489 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29491 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29492 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29494 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}};
29495 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}};
29496 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29581 static swig_type_info
*swig_types_initial
[] = {
29582 _swigt__p_wxLogChain
,
29583 _swigt__p_wxMutexGuiLocker
,
29584 _swigt__p_wxMetafile
,
29585 _swigt__p_wxFileHistory
,
29587 _swigt__p_wxDateTime__TimeZone
,
29590 _swigt__p_wxConfigBase
,
29591 _swigt__p_wxDisplay
,
29592 _swigt__p_wxFileType
,
29593 _swigt__p_wxLogGui
,
29595 _swigt__p_wxDataFormat
,
29596 _swigt__p_wxTimerEvent
,
29600 _swigt__p_wxClipboard
,
29601 _swigt__p_wxStopWatch
,
29603 _swigt__p_wxClipboardLocker
,
29605 _swigt__p_wxLogStderr
,
29606 _swigt__p_wxLogTextCtrl
,
29607 _swigt__p_wxTextCtrl
,
29608 _swigt__p_wxBusyCursor
,
29609 _swigt__p_wxPyBitmapDataObject
,
29610 _swigt__p_wxPyTextDataObject
,
29611 _swigt__p_wxBitmapDataObject
,
29612 _swigt__p_wxTextDataObject
,
29613 _swigt__p_wxDataObject
,
29614 _swigt__p_wxFileDataObject
,
29615 _swigt__p_wxCustomDataObject
,
29616 _swigt__p_wxURLDataObject
,
29617 _swigt__p_wxMetafileDataObject
,
29619 _swigt__p_wxTimerRunner
,
29620 _swigt__p_wxLogWindow
,
29621 _swigt__p_wxTimeSpan
,
29622 _swigt__p_wxArrayString
,
29623 _swigt__p_wxWindowDisabler
,
29624 _swigt__p_wxToolTip
,
29625 _swigt__p_wxDataObjectComposite
,
29626 _swigt__p_wxFileConfig
,
29627 _swigt__p_wxSystemSettings
,
29628 _swigt__p_wxVideoMode
,
29629 _swigt__p_wxPyDataObjectSimple
,
29630 _swigt__p_wxDataObjectSimple
,
29631 _swigt__p_wxEvtHandler
,
29634 _swigt__p_wxSingleInstanceChecker
,
29635 _swigt__p_wxFileTypeInfo
,
29638 _swigt__p_wxMimeTypesManager
,
29639 _swigt__p_wxPyArtProvider
,
29640 _swigt__p_wxPyTipProvider
,
29641 _swigt__p_wxTipProvider
,
29642 _swigt__p_wxJoystick
,
29643 _swigt__p_wxSystemOptions
,
29645 _swigt__p_wxJoystickEvent
,
29646 _swigt__p_wxCursor
,
29647 _swigt__p_wxObject
,
29648 _swigt__p_wxOutputStream
,
29649 _swigt__p_wxDateTime
,
29650 _swigt__p_wxPyDropSource
,
29651 _swigt__p_wxWindow
,
29652 _swigt__p_wxString
,
29653 _swigt__p_wxPyProcess
,
29654 _swigt__p_wxBitmap
,
29655 _swigt__p_wxConfig
,
29657 _swigt__p_wxBusyInfo
,
29658 _swigt__p_wxPyDropTarget
,
29659 _swigt__p_wxPyTextDropTarget
,
29660 _swigt__p_wxPyFileDropTarget
,
29661 _swigt__p_wxProcessEvent
,
29663 _swigt__p_wxLogNull
,
29664 _swigt__p_wxColour
,
29665 _swigt__p_wxConfigPathChanger
,
29666 _swigt__p_wxPyTimer
,
29667 _swigt__p_wxDateSpan
,
29672 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29674 static swig_const_info swig_const_table
[] = {
29675 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29676 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29677 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29678 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29679 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29689 SWIGEXPORT(void) SWIG_init(void) {
29690 static PyObject
*SWIG_globals
= 0;
29691 static int typeinit
= 0;
29694 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29695 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29696 d
= PyModule_GetDict(m
);
29699 for (i
= 0; swig_types_initial
[i
]; i
++) {
29700 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29704 SWIG_InstallConstants(d
,swig_const_table
);
29706 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29707 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29708 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29709 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29710 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29711 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29712 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29713 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29714 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29715 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29716 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29717 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29718 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29719 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29720 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29721 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29722 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29723 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29724 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29725 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29726 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29727 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29728 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29729 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29730 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29731 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29732 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29733 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29734 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29735 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29736 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29737 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29738 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29739 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29740 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29741 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29742 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29743 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29744 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29745 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29746 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29747 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29748 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29749 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29750 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29751 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29752 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29753 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29754 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29755 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29756 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29757 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29758 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29759 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29760 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29761 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29762 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29763 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29764 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29765 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29766 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29767 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29768 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29769 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29770 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29771 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29772 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29773 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29774 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29775 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29776 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29777 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29778 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29779 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29780 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29781 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29782 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29783 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29784 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29785 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29786 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29787 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29788 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29789 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29790 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29791 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29792 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29793 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29794 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29795 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29796 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29797 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29798 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29799 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29800 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29801 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29802 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29803 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29804 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29805 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29807 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29809 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29810 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29811 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29812 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29813 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29814 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29815 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29816 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29817 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29818 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29819 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29820 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29821 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29822 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29823 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29824 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29825 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29826 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29827 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29828 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29829 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29830 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29831 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29832 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29833 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29834 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29835 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29836 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29837 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29838 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29839 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29840 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29841 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29842 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29843 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29844 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29845 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29846 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29847 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29848 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29849 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29850 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29851 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29852 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29853 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29854 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29855 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29856 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29857 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29858 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29860 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29862 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29863 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29864 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29865 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29866 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29867 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29868 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29869 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29870 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29871 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29872 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29873 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29874 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29875 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29876 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29877 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29878 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29879 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29880 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29881 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29921 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29923 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29924 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29925 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29926 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29927 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29928 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29929 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29930 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29931 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29932 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29933 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29934 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29935 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29936 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29937 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29938 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29939 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29940 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29941 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29942 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29943 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29944 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29945 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29946 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29947 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29948 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29949 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29950 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29951 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29952 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29953 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29954 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29955 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29956 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29957 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29958 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29959 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29960 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29961 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29962 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29963 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29964 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29965 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29966 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29967 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29968 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29969 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29970 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29971 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29972 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29973 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29974 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29975 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29976 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29977 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29978 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29979 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29980 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29981 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29982 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29983 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29984 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29985 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29986 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29987 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29988 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29989 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29990 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29991 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29992 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29993 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29994 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29995 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29996 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29997 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29998 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29999 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30000 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30001 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30002 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30003 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30004 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30005 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30006 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30007 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30008 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30009 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30010 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30011 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30012 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30013 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30014 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30015 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30016 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30017 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30018 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30019 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30020 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30021 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30022 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30023 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30024 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30025 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30026 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30027 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30028 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30029 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30030 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30031 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30032 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30033 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30034 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30035 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30036 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30037 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30038 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30039 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30040 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30041 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30042 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30043 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30044 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30045 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30046 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30047 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30048 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30049 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30050 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30051 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30052 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30053 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30054 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30055 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30056 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30057 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30058 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30059 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30060 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30061 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30062 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30063 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30064 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30065 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30066 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30067 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30068 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30069 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30070 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30071 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30072 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30073 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30074 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30075 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30076 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30077 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30078 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30079 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30080 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30081 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30082 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30083 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30084 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30085 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30086 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30087 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30088 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30089 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30090 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30091 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30092 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30093 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30094 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30095 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30096 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30097 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30098 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30099 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30100 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30101 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30102 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30103 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30104 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30105 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30106 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30107 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30108 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30109 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30110 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30111 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30112 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30113 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30114 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30115 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30116 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30117 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30118 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30119 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30120 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30121 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30122 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30124 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30125 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30126 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30127 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30129 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30130 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);