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
);
912 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
914 #include <wx/mimetype.h>
916 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
918 if (self
->GetMimeType(&str
))
919 return wx2PyString(str
);
923 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
925 if (self
->GetMimeTypes(arr
))
926 return wxArrayString2PyList_helper(arr
);
930 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
932 if (self
->GetExtensions(arr
))
933 return wxArrayString2PyList_helper(arr
);
937 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
939 if (self
->GetIcon(&loc
))
940 return new wxIcon(loc
);
944 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
946 if (self
->GetIcon(&loc
)) {
947 wxString iconFile
= loc
.GetFileName();
952 // Make a tuple and put the values in it
953 bool blocked
= wxPyBeginBlockThreads();
954 PyObject
* tuple
= PyTuple_New(3);
955 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
956 wxT("wxIcon"), True
));
957 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
958 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
959 wxPyEndBlockThreads(blocked
);
965 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
967 if (self
->GetDescription(&str
))
968 return wx2PyString(str
);
972 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
974 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
975 return wx2PyString(str
);
979 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
981 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
982 return wx2PyString(str
);
986 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
988 wxArrayString commands
;
989 if (self
->GetAllCommands(&verbs
, &commands
,
990 wxFileType::MessageParameters(filename
, mimetype
))) {
991 bool blocked
= wxPyBeginBlockThreads();
992 PyObject
* tuple
= PyTuple_New(2);
993 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
994 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
995 wxPyEndBlockThreads(blocked
);
1001 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1002 return wxFileType::ExpandCommand(command
,
1003 wxFileType::MessageParameters(filename
, mimetype
));
1005 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1007 self
->EnumAllFileTypes(arr
);
1008 return wxArrayString2PyList_helper(arr
);
1011 #include <wx/artprov.h>
1013 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1014 static const wxString
wxPyART_MENU(wxART_MENU
);
1015 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1016 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1017 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1018 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1019 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1020 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1021 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1022 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1023 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1024 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1025 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1026 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1027 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1028 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1029 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1030 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1031 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1032 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1033 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1034 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1035 static const wxString
wxPyART_HELP(wxART_HELP
);
1036 static const wxString
wxPyART_TIP(wxART_TIP
);
1037 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1038 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1039 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1040 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1041 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1042 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1043 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1044 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1045 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1046 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1047 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1048 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1049 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1050 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1051 // Python aware wxArtProvider
1052 class wxPyArtProvider
: public wxArtProvider
{
1055 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1056 const wxArtClient
& client
,
1057 const wxSize
& size
) {
1058 wxBitmap rval
= wxNullBitmap
;
1059 bool blocked
= wxPyBeginBlockThreads();
1060 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1061 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1065 s1
= wx2PyString(id
);
1066 s2
= wx2PyString(client
);
1067 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1072 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1077 wxPyEndBlockThreads(blocked
);
1084 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1088 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1089 PyObject
* ret
= PyTuple_New(3);
1091 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1092 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1093 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1098 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1103 cont
= self
->GetFirstGroup(value
, index
);
1104 return __EnumerationHelper(cont
, value
, index
);
1106 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1110 cont
= self
->GetNextGroup(value
, index
);
1111 return __EnumerationHelper(cont
, value
, index
);
1113 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1118 cont
= self
->GetFirstEntry(value
, index
);
1119 return __EnumerationHelper(cont
, value
, index
);
1121 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1125 cont
= self
->GetNextEntry(value
, index
);
1126 return __EnumerationHelper(cont
, value
, index
);
1128 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 SWIGSTATICINLINE(double)
1135 SWIG_AsDouble(PyObject
*obj
)
1137 if (PyNumber_Check(obj
))
1138 return PyFloat_AsDouble(obj
);
1140 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1141 obj
->ob_type
->tp_name
);
1142 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1149 SWIGSTATICINLINE(int)
1150 SWIG_CheckDouble(PyObject
* obj
)
1153 if (PyErr_Occurred()) {
1161 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1163 self
->Read(key
, &rv
, defaultVal
);
1166 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1168 self
->Read(key
, &rv
, defaultVal
);
1172 #include <wx/datetime.h>
1175 static const wxString
wxPyDateFormatStr(wxT("%c"));
1176 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1178 #define LOCAL_TZ wxDateTime::Local
1181 #if UINT_MAX < LONG_MAX
1182 #define SWIG_FromUnsignedInt SWIG_FromLong
1184 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1187 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1189 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1192 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1193 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1194 return (*self
< *other
);
1196 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1197 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1198 return (*self
<= *other
);
1200 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1202 return (*self
> *other
);
1204 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1206 return (*self
>= *other
);
1208 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1210 return (*self
== *other
);
1212 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1214 return (*self
!= *other
);
1216 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1218 const wxChar
* _date
= date
;
1219 rv
= self
->ParseRfc822Date(_date
);
1220 if (rv
== NULL
) return -1;
1223 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1225 const wxChar
* _date
= date
;
1226 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1227 if (rv
== NULL
) return -1;
1230 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1232 const wxChar
* _datetime
= datetime
;
1233 rv
= self
->ParseDateTime(_datetime
);
1234 if (rv
== NULL
) return -1;
1235 return rv
- _datetime
;
1237 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1239 const wxChar
* _date
= date
;
1240 rv
= self
->ParseDate(_date
);
1241 if (rv
== NULL
) return -1;
1244 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1246 const wxChar
* _time
= time
;
1247 rv
= self
->ParseTime(_time
);
1248 if (rv
== NULL
) return -1;
1251 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1252 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1253 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1254 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1255 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1256 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1257 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1258 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1259 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1260 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1261 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1262 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1263 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1264 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1265 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1266 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1268 #include <wx/dataobj.h>
1270 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1271 size_t count
= self
->GetFormatCount(dir
);
1272 wxDataFormat
* formats
= new wxDataFormat
[count
];
1273 self
->GetAllFormats(formats
, dir
);
1275 bool blocked
= wxPyBeginBlockThreads();
1276 PyObject
* list
= PyList_New(count
);
1277 for (size_t i
=0; i
<count
; i
++) {
1278 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1279 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1280 PyList_Append(list
, obj
);
1283 wxPyEndBlockThreads(blocked
);
1287 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1288 PyObject
* rval
= NULL
;
1289 size_t size
= self
->GetDataSize(format
);
1290 bool blocked
= wxPyBeginBlockThreads();
1292 char* buf
= new char[size
];
1293 if (self
->GetDataHere(format
, buf
))
1294 rval
= PyString_FromStringAndSize(buf
, size
);
1301 wxPyEndBlockThreads(blocked
);
1304 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1306 bool blocked
= wxPyBeginBlockThreads();
1307 if (PyString_Check(data
)) {
1308 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1311 // raise a TypeError if not a string
1312 PyErr_SetString(PyExc_TypeError
, "String expected.");
1315 wxPyEndBlockThreads(blocked
);
1318 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1319 PyObject
* rval
= NULL
;
1320 size_t size
= self
->GetDataSize();
1321 bool blocked
= wxPyBeginBlockThreads();
1323 char* buf
= new char[size
];
1324 if (self
->GetDataHere(buf
))
1325 rval
= PyString_FromStringAndSize(buf
, size
);
1332 wxPyEndBlockThreads(blocked
);
1335 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1337 bool blocked
= wxPyBeginBlockThreads();
1338 if (PyString_Check(data
)) {
1339 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError
, "String expected.");
1346 wxPyEndBlockThreads(blocked
);
1349 // Create a new class for wxPython to use
1350 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1352 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1353 : wxDataObjectSimple(format
) {}
1355 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1356 bool GetDataHere(void *buf
) const;
1357 bool SetData(size_t len
, const void *buf
) const;
1361 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1363 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1364 // We need to get the data for this object and write it to buf. I think
1365 // the best way to do this for wxPython is to have the Python method
1366 // return either a string or None and then act appropriately with the
1370 bool blocked
= wxPyBeginBlockThreads();
1371 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1373 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1375 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1377 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1381 wxPyEndBlockThreads(blocked
);
1385 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1386 // For this one we simply need to make a string from buf and len
1387 // and send it to the Python method.
1389 bool blocked
= wxPyBeginBlockThreads();
1390 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1391 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1392 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1395 wxPyEndBlockThreads(blocked
);
1399 // Create a new class for wxPython to use
1400 class wxPyTextDataObject
: public wxTextDataObject
{
1402 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1403 : wxTextDataObject(text
) {}
1405 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1406 DEC_PYCALLBACK_STRING__const(GetText
);
1407 DEC_PYCALLBACK__STRING(SetText
);
1411 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1412 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1413 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1416 // Create a new class for wxPython to use
1417 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1419 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1420 : wxBitmapDataObject(bitmap
) {}
1422 wxBitmap
GetBitmap() const;
1423 void SetBitmap(const wxBitmap
& bitmap
);
1427 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1428 wxBitmap
* rval
= &wxNullBitmap
;
1429 bool blocked
= wxPyBeginBlockThreads();
1430 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1433 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1435 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1440 wxPyEndBlockThreads(blocked
);
1444 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1445 bool blocked
= wxPyBeginBlockThreads();
1446 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1447 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1448 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1451 wxPyEndBlockThreads(blocked
);
1454 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1456 bool blocked
= wxPyBeginBlockThreads();
1457 if (PyString_Check(data
)) {
1458 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1461 // raise a TypeError if not a string
1462 PyErr_SetString(PyExc_TypeError
, "String expected.");
1465 wxPyEndBlockThreads(blocked
);
1468 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1470 bool blocked
= wxPyBeginBlockThreads();
1471 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1472 wxPyEndBlockThreads(blocked
);
1476 #include <wx/metafile.h>
1479 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1482 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1485 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1486 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1489 class wxPyTextDropTarget
: public wxTextDropTarget
{
1491 wxPyTextDropTarget() {}
1493 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1495 DEC_PYCALLBACK__(OnLeave
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1499 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1504 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1505 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1509 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1513 class wxPyFileDropTarget
: public wxFileDropTarget
{
1515 wxPyFileDropTarget() {}
1517 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1519 DEC_PYCALLBACK__(OnLeave
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1523 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1528 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1529 const wxArrayString
& filenames
) {
1531 bool blocked
= wxPyBeginBlockThreads();
1532 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1533 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1534 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1537 wxPyEndBlockThreads(blocked
);
1543 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1547 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1552 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1554 #include <wx/display.h>
1556 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1557 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1559 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1561 #include <wx/dynarray.h>
1562 #include <wx/vidmode.h>
1564 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1565 #include "wx/arrimpl.cpp"
1566 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1567 const wxVideoMode wxDefaultVideoMode
;
1572 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1575 static size_t GetCount()
1576 { wxPyRaiseNotImplemented(); return 0; }
1578 static int GetFromPoint(const wxPoint
& pt
)
1579 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1580 static int GetFromWindow(wxWindow
*window
)
1581 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1583 virtual bool IsOk() const { return false; }
1584 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1585 virtual wxString
GetName() const { return wxEmptyString
; }
1586 bool IsPrimary() const { return false; }
1588 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1589 { wxArrayVideoModes a
; return a
; }
1591 virtual wxVideoMode
GetCurrentMode() const
1592 { return wxDefaultVideoMode
; }
1594 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1601 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1602 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1603 PyObject
* pyList
= NULL
;
1604 wxArrayVideoModes arr
= self
->GetModes(mode
);
1605 bool blocked
= wxPyBeginBlockThreads();
1606 pyList
= PyList_New(0);
1607 for (int i
=0; i
< arr
.GetCount(); i
++) {
1608 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1609 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1610 PyList_Append(pyList
, pyObj
);
1613 wxPyEndBlockThreads(blocked
);
1619 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "index", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1629 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 if (!wxPyCheckForApp()) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 wxColour
* resultptr
;
1641 resultptr
= new wxColour((wxColour
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1650 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "index", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1660 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 if (!wxPyCheckForApp()) SWIG_fail
;
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1672 resultptr
= new wxFont((wxFont
&) result
);
1673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1681 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1685 PyObject
* obj0
= 0 ;
1687 (char *) "index", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1691 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 if (!wxPyCheckForApp()) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= SWIG_FromInt((int)result
);
1708 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
*resultobj
;
1712 PyObject
* obj0
= 0 ;
1714 (char *) "index", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1718 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1721 if (!wxPyCheckForApp()) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1737 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1746 if (!wxPyCheckForApp()) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 result
= (int)wxSystemSettings::GetScreenType();
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 resultobj
= SWIG_FromInt((int)result
);
1760 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1763 PyObject
* obj0
= 0 ;
1765 (char *) "screen", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1769 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 if (!wxPyCheckForApp()) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 Py_INCREF(Py_None
); resultobj
= Py_None
;
1786 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1791 return Py_BuildValue((char *)"");
1793 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1795 wxSystemOptions
*result
;
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (wxSystemOptions
*)new wxSystemOptions();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1815 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxString
*arg1
= 0 ;
1818 wxString
*arg2
= 0 ;
1819 bool temp1
= False
;
1820 bool temp2
= False
;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1824 (char *) "name",(char *) "value", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1829 arg1
= wxString_in_helper(obj0
);
1830 if (arg1
== NULL
) SWIG_fail
;
1834 arg2
= wxString_in_helper(obj1
);
1835 if (arg2
== NULL
) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxString
*arg1
= 0 ;
1872 bool temp1
= False
;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1876 (char *) "name",(char *) "value", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1881 arg1
= wxString_in_helper(obj0
);
1882 if (arg1
== NULL
) SWIG_fail
;
1885 arg2
= (int) SWIG_AsInt(obj1
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1909 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxString
*arg1
= 0 ;
1913 bool temp1
= False
;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "name", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1921 arg1
= wxString_in_helper(obj0
);
1922 if (arg1
== NULL
) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1953 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 wxString
*arg1
= 0 ;
1957 bool temp1
= False
;
1958 PyObject
* obj0
= 0 ;
1960 (char *) "name", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1965 arg1
= wxString_in_helper(obj0
);
1966 if (arg1
== NULL
) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= SWIG_FromInt((int)result
);
1991 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxString
*arg1
= 0 ;
1995 bool temp1
= False
;
1996 PyObject
* obj0
= 0 ;
1998 (char *) "name", NULL
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2003 arg1
= wxString_in_helper(obj0
);
2004 if (arg1
== NULL
) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2031 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2034 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2036 return Py_BuildValue((char *)"");
2038 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2039 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2044 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2049 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2051 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2058 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2059 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2064 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2069 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2071 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2078 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2079 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2084 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2089 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2091 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2098 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 result
= (long)wxNewId();
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= SWIG_FromLong((long)result
);
2120 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2123 PyObject
* obj0
= 0 ;
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2129 arg1
= (long) SWIG_AsLong(obj0
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2138 Py_INCREF(Py_None
); resultobj
= Py_None
;
2145 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 result
= (long)wxGetCurrentId();
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 resultobj
= SWIG_FromLong((long)result
);
2167 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2175 if (!wxPyCheckForApp()) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2197 if (!wxPyCheckForApp()) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 bool arg1
= (bool) True
;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "resetTimer", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2222 arg1
= (bool) SWIG_AsBool(obj0
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (long)wxGetElapsedTime(arg1
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= SWIG_FromLong((long)result
);
2239 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 int *arg1
= (int *) 0 ;
2242 int *arg2
= (int *) 0 ;
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2253 if (!wxPyCheckForApp()) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 wxGetMousePosition(arg1
,arg2
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2263 resultobj
= t_output_helper(resultobj
,o
);
2266 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2267 resultobj
= t_output_helper(resultobj
,o
);
2275 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 result
= (bool)wxIsBusy();
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2299 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2327 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2329 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2330 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2332 bool temp1
= False
;
2333 PyObject
* obj0
= 0 ;
2335 (char *) "command", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2341 arg1
= wxString_in_helper(obj0
);
2342 if (arg1
== NULL
) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (bool)wxShell((wxString
const &)*arg1
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2370 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 int *arg1
= (int *) 0 ;
2394 int *arg2
= (int *) 0 ;
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (int)wxGetOsVersion(arg1
,arg2
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= SWIG_FromInt((int)result
);
2414 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2415 resultobj
= t_output_helper(resultobj
,o
);
2418 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2419 resultobj
= t_output_helper(resultobj
,o
);
2427 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= wxGetOsDescription();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2455 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (long)wxGetFreeMemory();
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= SWIG_FromLong((long)result
);
2477 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "wFlags", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2487 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 if (!wxPyCheckForApp()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2506 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2509 PyObject
* obj0
= 0 ;
2511 (char *) "secs", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2515 arg1
= (int) SWIG_AsInt(obj0
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 Py_INCREF(Py_None
); resultobj
= Py_None
;
2531 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 unsigned long arg1
;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "milliseconds", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2540 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 Py_INCREF(Py_None
); resultobj
= Py_None
;
2556 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2559 PyObject
* obj0
= 0 ;
2561 (char *) "enable", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2565 arg1
= (bool) SWIG_AsBool(obj0
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 wxEnableTopLevelWindows(arg1
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxString
*arg1
= 0 ;
2585 bool temp1
= False
;
2586 PyObject
* obj0
= 0 ;
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2593 arg1
= wxString_in_helper(obj0
);
2594 if (arg1
== NULL
) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2625 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= wxGetEmailAddress();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2653 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= wxGetHostName();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2681 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 result
= wxGetFullHostName();
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2709 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= wxGetUserId();
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2737 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 result
= wxGetUserName();
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2765 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= wxGetHomeDir();
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2793 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2796 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2798 bool temp1
= False
;
2799 PyObject
* obj0
= 0 ;
2801 (char *) "user", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2807 arg1
= wxString_in_helper(obj0
);
2808 if (arg1
== NULL
) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 result
= wxGetUserHome((wxString
const &)*arg1
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2840 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 unsigned long result
;
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (unsigned long)wxGetProcessId();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2862 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2886 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2887 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2888 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2893 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2894 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2895 int arg6
= (int) 0 ;
2896 wxWindow
*arg7
= (wxWindow
*) NULL
;
2897 int arg8
= (int) -1 ;
2898 int arg9
= (int) -1 ;
2900 bool temp1
= False
;
2901 bool temp2
= False
;
2902 bool temp3
= False
;
2903 bool temp4
= False
;
2904 bool temp5
= False
;
2905 PyObject
* obj0
= 0 ;
2906 PyObject
* obj1
= 0 ;
2907 PyObject
* obj2
= 0 ;
2908 PyObject
* obj3
= 0 ;
2909 PyObject
* obj4
= 0 ;
2910 PyObject
* obj5
= 0 ;
2911 PyObject
* obj6
= 0 ;
2912 PyObject
* obj7
= 0 ;
2913 PyObject
* obj8
= 0 ;
2915 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2921 arg1
= wxString_in_helper(obj0
);
2922 if (arg1
== NULL
) SWIG_fail
;
2928 arg2
= wxString_in_helper(obj1
);
2929 if (arg2
== NULL
) SWIG_fail
;
2935 arg3
= wxString_in_helper(obj2
);
2936 if (arg3
== NULL
) SWIG_fail
;
2942 arg4
= wxString_in_helper(obj3
);
2943 if (arg4
== NULL
) SWIG_fail
;
2949 arg5
= wxString_in_helper(obj4
);
2950 if (arg5
== NULL
) SWIG_fail
;
2955 arg6
= (int) SWIG_AsInt(obj5
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 arg8
= (int) SWIG_AsInt(obj7
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 arg9
= (int) SWIG_AsInt(obj8
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 if (!wxPyCheckForApp()) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3031 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxString
*arg1
= 0 ;
3034 wxString
*arg2
= 0 ;
3035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3037 wxWindow
*arg4
= (wxWindow
*) NULL
;
3039 bool temp1
= False
;
3040 bool temp2
= False
;
3041 bool temp3
= False
;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3044 PyObject
* obj2
= 0 ;
3045 PyObject
* obj3
= 0 ;
3047 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3052 arg1
= wxString_in_helper(obj0
);
3053 if (arg1
== NULL
) SWIG_fail
;
3057 arg2
= wxString_in_helper(obj1
);
3058 if (arg2
== NULL
) SWIG_fail
;
3063 arg3
= wxString_in_helper(obj2
);
3064 if (arg3
== NULL
) SWIG_fail
;
3069 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if (!wxPyCheckForApp()) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3117 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxString
*arg1
= 0 ;
3120 wxString
*arg2
= 0 ;
3121 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3123 wxWindow
*arg4
= (wxWindow
*) NULL
;
3125 bool temp1
= False
;
3126 bool temp2
= False
;
3127 bool temp3
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3133 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3138 arg1
= wxString_in_helper(obj0
);
3139 if (arg1
== NULL
) SWIG_fail
;
3143 arg2
= wxString_in_helper(obj1
);
3144 if (arg2
== NULL
) SWIG_fail
;
3149 arg3
= wxString_in_helper(obj2
);
3150 if (arg3
== NULL
) SWIG_fail
;
3155 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 if (!wxPyCheckForApp()) SWIG_fail
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3203 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3206 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3207 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3208 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3209 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3210 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3211 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3212 wxWindow
*arg5
= (wxWindow
*) NULL
;
3214 bool temp1
= False
;
3215 bool temp2
= False
;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3219 PyObject
* obj2
= 0 ;
3220 PyObject
* obj3
= 0 ;
3221 PyObject
* obj4
= 0 ;
3223 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3229 arg1
= wxString_in_helper(obj0
);
3230 if (arg1
== NULL
) SWIG_fail
;
3236 arg2
= wxString_in_helper(obj1
);
3237 if (arg2
== NULL
) SWIG_fail
;
3242 arg3
= (long) SWIG_AsLong(obj2
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3252 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3256 if (!wxPyCheckForApp()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3292 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxString
*arg1
= 0 ;
3295 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3296 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3297 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3299 wxWindow
*arg4
= (wxWindow
*) NULL
;
3300 int arg5
= (int) -1 ;
3301 int arg6
= (int) -1 ;
3302 bool arg7
= (bool) True
;
3304 bool temp1
= False
;
3305 bool temp2
= False
;
3306 bool temp3
= False
;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3309 PyObject
* obj2
= 0 ;
3310 PyObject
* obj3
= 0 ;
3311 PyObject
* obj4
= 0 ;
3312 PyObject
* obj5
= 0 ;
3313 PyObject
* obj6
= 0 ;
3315 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3320 arg1
= wxString_in_helper(obj0
);
3321 if (arg1
== NULL
) SWIG_fail
;
3326 arg2
= wxString_in_helper(obj1
);
3327 if (arg2
== NULL
) SWIG_fail
;
3333 arg3
= wxString_in_helper(obj2
);
3334 if (arg3
== NULL
) SWIG_fail
;
3339 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 arg5
= (int) SWIG_AsInt(obj4
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 arg6
= (int) SWIG_AsInt(obj5
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 arg7
= (bool) SWIG_AsBool(obj6
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3355 if (!wxPyCheckForApp()) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3399 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxString
*arg1
= 0 ;
3402 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3403 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3404 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3405 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3406 wxWindow
*arg4
= (wxWindow
*) NULL
;
3408 bool temp1
= False
;
3409 bool temp2
= False
;
3410 bool temp3
= False
;
3411 PyObject
* obj0
= 0 ;
3412 PyObject
* obj1
= 0 ;
3413 PyObject
* obj2
= 0 ;
3414 PyObject
* obj3
= 0 ;
3416 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3421 arg1
= wxString_in_helper(obj0
);
3422 if (arg1
== NULL
) SWIG_fail
;
3427 arg2
= wxString_in_helper(obj1
);
3428 if (arg2
== NULL
) SWIG_fail
;
3434 arg3
= wxString_in_helper(obj2
);
3435 if (arg3
== NULL
) SWIG_fail
;
3440 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 if (!wxPyCheckForApp()) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3488 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxString
*arg1
= 0 ;
3491 wxString
*arg2
= 0 ;
3493 wxString
*arg4
= (wxString
*) 0 ;
3494 wxWindow
*arg5
= (wxWindow
*) NULL
;
3495 int arg6
= (int) -1 ;
3496 int arg7
= (int) -1 ;
3497 bool arg8
= (bool) True
;
3498 int arg9
= (int) 150 ;
3499 int arg10
= (int) 200 ;
3501 bool temp1
= False
;
3502 bool temp2
= False
;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3506 PyObject
* obj3
= 0 ;
3507 PyObject
* obj4
= 0 ;
3508 PyObject
* obj5
= 0 ;
3509 PyObject
* obj6
= 0 ;
3510 PyObject
* obj7
= 0 ;
3511 PyObject
* obj8
= 0 ;
3513 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3518 arg1
= wxString_in_helper(obj0
);
3519 if (arg1
== NULL
) SWIG_fail
;
3523 arg2
= wxString_in_helper(obj1
);
3524 if (arg2
== NULL
) SWIG_fail
;
3528 arg3
= PyList_Size(obj2
);
3529 arg4
= wxString_LIST_helper(obj2
);
3530 if (arg4
== NULL
) SWIG_fail
;
3533 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 arg6
= (int) SWIG_AsInt(obj4
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3541 arg7
= (int) SWIG_AsInt(obj5
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3545 arg8
= (bool) SWIG_AsBool(obj6
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 arg9
= (int) SWIG_AsInt(obj7
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3553 arg10
= (int) SWIG_AsInt(obj8
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3557 if (!wxPyCheckForApp()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3580 if (arg4
) delete [] arg4
;
3593 if (arg4
) delete [] arg4
;
3599 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3601 wxString
*arg1
= 0 ;
3602 wxString
*arg2
= 0 ;
3604 wxString
*arg4
= (wxString
*) 0 ;
3605 wxWindow
*arg5
= (wxWindow
*) NULL
;
3606 int arg6
= (int) -1 ;
3607 int arg7
= (int) -1 ;
3608 bool arg8
= (bool) True
;
3609 int arg9
= (int) 150 ;
3610 int arg10
= (int) 200 ;
3612 bool temp1
= False
;
3613 bool temp2
= False
;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3618 PyObject
* obj4
= 0 ;
3619 PyObject
* obj5
= 0 ;
3620 PyObject
* obj6
= 0 ;
3621 PyObject
* obj7
= 0 ;
3622 PyObject
* obj8
= 0 ;
3624 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3629 arg1
= wxString_in_helper(obj0
);
3630 if (arg1
== NULL
) SWIG_fail
;
3634 arg2
= wxString_in_helper(obj1
);
3635 if (arg2
== NULL
) SWIG_fail
;
3639 arg3
= PyList_Size(obj2
);
3640 arg4
= wxString_LIST_helper(obj2
);
3641 if (arg4
== NULL
) SWIG_fail
;
3644 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3648 arg6
= (int) SWIG_AsInt(obj4
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 arg7
= (int) SWIG_AsInt(obj5
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 arg8
= (bool) SWIG_AsBool(obj6
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3660 arg9
= (int) SWIG_AsInt(obj7
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 arg10
= (int) SWIG_AsInt(obj8
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3668 if (!wxPyCheckForApp()) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= SWIG_FromInt((int)result
);
3685 if (arg4
) delete [] arg4
;
3698 if (arg4
) delete [] arg4
;
3704 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxString
*arg1
= 0 ;
3707 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3708 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3709 int arg3
= (int) wxOK
|wxCENTRE
;
3710 wxWindow
*arg4
= (wxWindow
*) NULL
;
3711 int arg5
= (int) -1 ;
3712 int arg6
= (int) -1 ;
3714 bool temp1
= False
;
3715 bool temp2
= False
;
3716 PyObject
* obj0
= 0 ;
3717 PyObject
* obj1
= 0 ;
3718 PyObject
* obj2
= 0 ;
3719 PyObject
* obj3
= 0 ;
3720 PyObject
* obj4
= 0 ;
3721 PyObject
* obj5
= 0 ;
3723 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3728 arg1
= wxString_in_helper(obj0
);
3729 if (arg1
== NULL
) SWIG_fail
;
3734 arg2
= wxString_in_helper(obj1
);
3735 if (arg2
== NULL
) SWIG_fail
;
3740 arg3
= (int) SWIG_AsInt(obj2
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3744 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 arg5
= (int) SWIG_AsInt(obj4
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 arg6
= (int) SWIG_AsInt(obj5
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= SWIG_FromInt((int)result
);
3786 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxString
*arg1
= 0 ;
3789 wxString
*arg2
= 0 ;
3790 wxString
*arg3
= 0 ;
3792 long arg5
= (long) 0 ;
3793 long arg6
= (long) 100 ;
3794 wxWindow
*arg7
= (wxWindow
*) NULL
;
3795 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3796 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3798 bool temp1
= False
;
3799 bool temp2
= False
;
3800 bool temp3
= False
;
3802 PyObject
* obj0
= 0 ;
3803 PyObject
* obj1
= 0 ;
3804 PyObject
* obj2
= 0 ;
3805 PyObject
* obj3
= 0 ;
3806 PyObject
* obj4
= 0 ;
3807 PyObject
* obj5
= 0 ;
3808 PyObject
* obj6
= 0 ;
3809 PyObject
* obj7
= 0 ;
3811 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3816 arg1
= wxString_in_helper(obj0
);
3817 if (arg1
== NULL
) SWIG_fail
;
3821 arg2
= wxString_in_helper(obj1
);
3822 if (arg2
== NULL
) SWIG_fail
;
3826 arg3
= wxString_in_helper(obj2
);
3827 if (arg3
== NULL
) SWIG_fail
;
3830 arg4
= (long) SWIG_AsLong(obj3
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 arg5
= (long) SWIG_AsLong(obj4
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 arg6
= (long) SWIG_AsLong(obj5
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3851 if (!wxPyCheckForApp()) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= SWIG_FromLong((long)result
);
3889 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (bool)wxColourDisplay();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3914 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (int)wxDisplayDepth();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_FromInt((int)result
);
3937 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3946 if (!wxPyCheckForApp()) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (int)wxGetDisplayDepth();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= SWIG_FromInt((int)result
);
3960 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 int *arg1
= (int *) 0 ;
3963 int *arg2
= (int *) 0 ;
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3974 if (!wxPyCheckForApp()) SWIG_fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 wxDisplaySize(arg1
,arg2
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3984 resultobj
= t_output_helper(resultobj
,o
);
3987 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3988 resultobj
= t_output_helper(resultobj
,o
);
3996 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= wxGetDisplaySize();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4014 resultptr
= new wxSize((wxSize
&) result
);
4015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4023 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 int *arg1
= (int *) 0 ;
4026 int *arg2
= (int *) 0 ;
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4037 if (!wxPyCheckForApp()) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 wxDisplaySizeMM(arg1
,arg2
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4047 resultobj
= t_output_helper(resultobj
,o
);
4050 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4051 resultobj
= t_output_helper(resultobj
,o
);
4059 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4068 if (!wxPyCheckForApp()) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= wxGetDisplaySizeMM();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4077 resultptr
= new wxSize((wxSize
&) result
);
4078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4086 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 int *arg1
= (int *) 0 ;
4089 int *arg2
= (int *) 0 ;
4090 int *arg3
= (int *) 0 ;
4091 int *arg4
= (int *) 0 ;
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4115 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4116 resultobj
= t_output_helper(resultobj
,o
);
4119 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4120 resultobj
= t_output_helper(resultobj
,o
);
4123 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4124 resultobj
= t_output_helper(resultobj
,o
);
4127 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4128 resultobj
= t_output_helper(resultobj
,o
);
4136 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4145 if (!wxPyCheckForApp()) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= wxGetClientDisplayRect();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4154 resultptr
= new wxRect((wxRect
&) result
);
4155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4163 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxCursor
*arg1
= 0 ;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "cursor", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4176 PyErr_SetString(PyExc_TypeError
,"null reference");
4180 if (!wxPyCheckForApp()) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 Py_INCREF(Py_None
); resultobj
= Py_None
;
4194 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4197 PyObject
* obj0
= 0 ;
4199 (char *) "cursor", NULL
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 if (!wxPyCheckForApp()) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxBeginBusyCursor(arg1
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4231 if (!wxPyCheckForApp()) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (wxWindow
*)wxGetActiveWindow();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= wxPyMake_wxObject(result
);
4247 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4252 PyObject
* obj0
= 0 ;
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4260 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4263 if (!wxPyCheckForApp()) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= wxPyMake_wxObject(result
);
4279 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4284 PyObject
* obj0
= 0 ;
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4292 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4295 if (!wxPyCheckForApp()) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= wxPyMake_wxObject(result
);
4311 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxWindow
*arg1
= (wxWindow
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4317 (char *) "win", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4324 if (!wxPyCheckForApp()) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= wxPyMake_wxObject(result
);
4340 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4344 PyObject
* obj0
= 0 ;
4346 (char *) "key", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4350 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 if (!wxPyCheckForApp()) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4369 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4377 if (!wxPyCheckForApp()) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxWakeUpMainThread();
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4399 if (!wxPyCheckForApp()) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 Py_INCREF(Py_None
); resultobj
= Py_None
;
4413 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4421 if (!wxPyCheckForApp()) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxMutexGuiLocker
*result
;
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4444 if (!wxPyCheckForApp()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4458 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4463 (char *) "self", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4486 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4488 return Py_BuildValue((char *)"");
4490 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (bool)wxThread_IsMain();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4514 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxString
*arg1
= 0 ;
4518 bool temp1
= False
;
4519 PyObject
* obj0
= 0 ;
4521 (char *) "tip", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4526 arg1
= wxString_in_helper(obj0
);
4527 if (arg1
== NULL
) SWIG_fail
;
4531 if (!wxPyCheckForApp()) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= wxPyMake_wxObject(result
);
4555 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4558 wxString
*arg2
= 0 ;
4559 bool temp2
= False
;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4563 (char *) "self",(char *) "tip", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 arg2
= wxString_in_helper(obj1
);
4571 if (arg2
== NULL
) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 (arg1
)->SetTip((wxString
const &)*arg2
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4581 Py_INCREF(Py_None
); resultobj
= Py_None
;
4596 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (arg1
)->GetTip();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4628 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4634 (char *) "self", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxWindow
*)(arg1
)->GetWindow();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= wxPyMake_wxObject(result
);
4656 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4659 PyObject
* obj0
= 0 ;
4661 (char *) "flag", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4665 arg1
= (bool) SWIG_AsBool(obj0
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 wxToolTip::Enable(arg1
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 Py_INCREF(Py_None
); resultobj
= Py_None
;
4681 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4684 PyObject
* obj0
= 0 ;
4686 (char *) "milliseconds", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4690 arg1
= (long) SWIG_AsLong(obj0
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxToolTip::SetDelay(arg1
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 Py_INCREF(Py_None
); resultobj
= Py_None
;
4706 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4709 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4711 return Py_BuildValue((char *)"");
4713 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxWindow
*arg1
= (wxWindow
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4722 (char *) "window",(char *) "size", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4730 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4733 if (!wxPyCheckForApp()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4747 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxCaret
*arg1
= (wxCaret
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 Py_INCREF(Py_None
); resultobj
= Py_None
;
4772 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxCaret
*arg1
= (wxCaret
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)(arg1
)->IsOk();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxCaret
*arg1
= (wxCaret
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4806 (char *) "self", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->IsVisible();
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4828 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxCaret
*arg1
= (wxCaret
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4834 (char *) "self", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (arg1
)->GetPosition();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4848 wxPoint
* resultptr
;
4849 resultptr
= new wxPoint((wxPoint
&) result
);
4850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4858 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxCaret
*arg1
= (wxCaret
*) 0 ;
4861 int *arg2
= (int *) 0 ;
4862 int *arg3
= (int *) 0 ;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "self", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 (arg1
)->GetPosition(arg2
,arg3
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 Py_INCREF(Py_None
); resultobj
= Py_None
;
4884 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4885 resultobj
= t_output_helper(resultobj
,o
);
4888 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4889 resultobj
= t_output_helper(resultobj
,o
);
4897 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxCaret
*arg1
= (wxCaret
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4903 (char *) "self", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (arg1
)->GetSize();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4918 resultptr
= new wxSize((wxSize
&) result
);
4919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4927 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxCaret
*arg1
= (wxCaret
*) 0 ;
4930 int *arg2
= (int *) 0 ;
4931 int *arg3
= (int *) 0 ;
4934 PyObject
* obj0
= 0 ;
4936 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->GetSize(arg2
,arg3
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4954 resultobj
= t_output_helper(resultobj
,o
);
4957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4958 resultobj
= t_output_helper(resultobj
,o
);
4966 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxCaret
*arg1
= (wxCaret
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 result
= (wxWindow
*)(arg1
)->GetWindow();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= wxPyMake_wxObject(result
);
4994 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxCaret
*arg1
= (wxCaret
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5001 PyObject
* obj2
= 0 ;
5003 (char *) "self",(char *) "x",(char *) "y", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 arg2
= (int) SWIG_AsInt(obj1
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5011 arg3
= (int) SWIG_AsInt(obj2
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 (arg1
)->Move(arg2
,arg3
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxCaret
*arg1
= (wxCaret
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5035 (char *) "self",(char *) "pt", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 (arg1
)->Move((wxPoint
const &)*arg2
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxCaret
*arg1
= (wxCaret
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 PyObject
* obj2
= 0 ;
5068 (char *) "self",(char *) "width",(char *) "height", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 arg2
= (int) SWIG_AsInt(obj1
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5076 arg3
= (int) SWIG_AsInt(obj2
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetSize(arg2
,arg3
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 Py_INCREF(Py_None
); resultobj
= Py_None
;
5092 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxCaret
*arg1
= (wxCaret
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "size", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SetSize((wxSize
const &)*arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxCaret
*arg1
= (wxCaret
*) 0 ;
5127 int arg2
= (int) True
;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5131 (char *) "self",(char *) "show", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5138 arg2
= (int) SWIG_AsInt(obj1
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 Py_INCREF(Py_None
); resultobj
= Py_None
;
5155 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxCaret
*arg1
= (wxCaret
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5160 (char *) "self", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 Py_INCREF(Py_None
); resultobj
= Py_None
;
5180 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5185 return Py_BuildValue((char *)"");
5187 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (int)wxCaret_GetBlinkTime();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_FromInt((int)result
);
5209 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "milliseconds", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5218 arg1
= (int) SWIG_AsInt(obj0
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 wxCaret_SetBlinkTime(arg1
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 Py_INCREF(Py_None
); resultobj
= Py_None
;
5234 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5237 wxBusyCursor
*result
;
5238 PyObject
* obj0
= 0 ;
5240 (char *) "cursor", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 if (!wxPyCheckForApp()) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5263 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5291 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5293 return Py_BuildValue((char *)"");
5295 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxWindow
*arg1
= (wxWindow
*) NULL
;
5298 wxWindowDisabler
*result
;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "winToSkip", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 if (!wxPyCheckForApp()) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5324 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5352 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5354 return Py_BuildValue((char *)"");
5356 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxString
*arg1
= 0 ;
5360 bool temp1
= False
;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "message", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5368 arg1
= wxString_in_helper(obj0
);
5369 if (arg1
== NULL
) SWIG_fail
;
5373 if (!wxPyCheckForApp()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5395 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "self", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 Py_INCREF(Py_None
); resultobj
= Py_None
;
5420 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5423 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5425 return Py_BuildValue((char *)"");
5427 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxStopWatch
*result
;
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (wxStopWatch
*)new wxStopWatch();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5449 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5452 long arg2
= (long) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "t0", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 arg2
= (long) SWIG_AsLong(obj1
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->Start(arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5480 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5485 (char *) "self", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_FromLong((long)result
);
5556 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5559 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5561 return Py_BuildValue((char *)"");
5563 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 int arg1
= (int) 9 ;
5566 wxFileHistory
*result
;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "maxFiles", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5574 arg1
= (int) SWIG_AsInt(obj0
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5591 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5596 (char *) "self", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5619 wxString
*arg2
= 0 ;
5620 bool temp2
= False
;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "file", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5631 arg2
= wxString_in_helper(obj1
);
5632 if (arg2
== NULL
) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5664 (char *) "self",(char *) "i", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 arg2
= (int) SWIG_AsInt(obj1
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->RemoveFileFromHistory(arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_FromInt((int)result
);
5712 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5715 wxMenu
*arg2
= (wxMenu
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5719 (char *) "self",(char *) "menu", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 (arg1
)->UseMenu(arg2
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5741 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5744 wxMenu
*arg2
= (wxMenu
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "menu", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->RemoveMenu(arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5773 wxConfigBase
*arg2
= 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5777 (char *) "self",(char *) "config", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5787 PyErr_SetString(PyExc_TypeError
,"null reference");
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->Load(*arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5807 wxConfigBase
*arg2
= 0 ;
5808 PyObject
* obj0
= 0 ;
5809 PyObject
* obj1
= 0 ;
5811 (char *) "self",(char *) "config", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5821 PyErr_SetString(PyExc_TypeError
,"null reference");
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->Save(*arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 Py_INCREF(Py_None
); resultobj
= Py_None
;
5838 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5843 (char *) "self", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->AddFilesToMenu();
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5863 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5866 wxMenu
*arg2
= (wxMenu
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "self",(char *) "menu", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->AddFilesToMenu(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "self",(char *) "i", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 arg2
= (int) SWIG_AsInt(obj1
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5928 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "self", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_FromInt((int)result
);
5954 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5957 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5959 return Py_BuildValue((char *)"");
5961 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxString
*arg1
= 0 ;
5964 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5965 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5966 wxSingleInstanceChecker
*result
;
5967 bool temp1
= False
;
5968 bool temp2
= False
;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "name",(char *) "path", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 arg1
= wxString_in_helper(obj0
);
5978 if (arg1
== NULL
) SWIG_fail
;
5983 arg2
= wxString_in_helper(obj1
);
5984 if (arg2
== NULL
) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6018 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxSingleInstanceChecker
*result
;
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6040 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6045 (char *) "self", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 Py_INCREF(Py_None
); resultobj
= Py_None
;
6065 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6068 wxString
*arg2
= 0 ;
6069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6072 bool temp2
= False
;
6073 bool temp3
= False
;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 PyObject
* obj2
= 0 ;
6078 (char *) "self",(char *) "name",(char *) "path", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 arg2
= wxString_in_helper(obj1
);
6086 if (arg2
== NULL
) SWIG_fail
;
6091 arg3
= wxString_in_helper(obj2
);
6092 if (arg3
== NULL
) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6128 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6134 (char *) "self", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6159 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6161 return Py_BuildValue((char *)"");
6163 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxWindow
*arg1
= (wxWindow
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 PyObject
* obj2
= 0 ;
6172 (char *) "window",(char *) "dc",(char *) "method", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6182 PyErr_SetString(PyExc_TypeError
,"null reference");
6185 arg3
= (int) SWIG_AsInt(obj2
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 Py_INCREF(Py_None
); resultobj
= Py_None
;
6201 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6232 (char *) "self", NULL
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (arg1
)->GetTip();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6258 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "self", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (size_t)(arg1
)->GetCurrentTip();
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6284 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6287 wxString
*arg2
= 0 ;
6289 bool temp2
= False
;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6293 (char *) "self",(char *) "tip", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 arg2
= wxString_in_helper(obj1
);
6301 if (arg2
== NULL
) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6332 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6335 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6337 return Py_BuildValue((char *)"");
6339 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6342 wxPyTipProvider
*result
;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "currentTip", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6349 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6365 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6368 PyObject
*arg2
= (PyObject
*) 0 ;
6369 PyObject
*arg3
= (PyObject
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 PyObject
* obj2
= 0 ;
6374 (char *) "self",(char *) "self",(char *) "_class", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 Py_INCREF(Py_None
); resultobj
= Py_None
;
6396 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6399 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6401 return Py_BuildValue((char *)"");
6403 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxWindow
*arg1
= (wxWindow
*) 0 ;
6406 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6407 bool arg3
= (bool) True
;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 PyObject
* obj2
= 0 ;
6413 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 arg3
= (bool) SWIG_AsBool(obj2
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 if (!wxPyCheckForApp()) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6442 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxString
*arg1
= 0 ;
6446 wxTipProvider
*result
;
6447 bool temp1
= False
;
6448 PyObject
* obj0
= 0 ;
6449 PyObject
* obj1
= 0 ;
6451 (char *) "filename",(char *) "currentTip", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6456 arg1
= wxString_in_helper(obj0
);
6457 if (arg1
== NULL
) SWIG_fail
;
6460 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 if (!wxPyCheckForApp()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6485 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6488 int arg2
= (int) -1 ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6493 (char *) "owner",(char *) "id", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 arg2
= (int) SWIG_AsInt(obj1
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 if (!wxPyCheckForApp()) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6520 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 Py_INCREF(Py_None
); resultobj
= Py_None
;
6545 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6548 PyObject
*arg2
= (PyObject
*) 0 ;
6549 PyObject
*arg3
= (PyObject
*) 0 ;
6550 int arg4
= (int) 1 ;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj1
= 0 ;
6553 PyObject
* obj2
= 0 ;
6554 PyObject
* obj3
= 0 ;
6556 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 arg4
= (int) SWIG_AsInt(obj3
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 Py_INCREF(Py_None
); resultobj
= Py_None
;
6582 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6585 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6586 int arg3
= (int) -1 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6589 PyObject
* obj2
= 0 ;
6591 (char *) "self",(char *) "owner",(char *) "id", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 arg3
= (int) SWIG_AsInt(obj2
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 (arg1
)->SetOwner(arg2
,arg3
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6620 wxEvtHandler
*result
;
6621 PyObject
* obj0
= 0 ;
6623 (char *) "self", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= wxPyMake_wxObject(result
);
6645 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6648 int arg2
= (int) -1 ;
6649 bool arg3
= (bool) False
;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 PyObject
* obj2
= 0 ;
6655 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 arg2
= (int) SWIG_AsInt(obj1
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 arg3
= (bool) SWIG_AsBool(obj2
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6710 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6716 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6738 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6744 (char *) "self", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_FromInt((int)result
);
6764 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6792 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6798 (char *) "self", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= SWIG_FromInt((int)result
);
6818 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6821 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6823 return Py_BuildValue((char *)"");
6825 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 int arg1
= (int) 0 ;
6828 int arg2
= (int) 0 ;
6829 wxTimerEvent
*result
;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "timerid",(char *) "interval", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6838 arg1
= (int) SWIG_AsInt(obj0
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 arg2
= (int) SWIG_AsInt(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6859 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6865 (char *) "self", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_FromInt((int)result
);
6885 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6888 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6890 return Py_BuildValue((char *)"");
6892 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6893 PyObject
*resultobj
;
6895 wxTimerRunner
*result
;
6896 PyObject
* obj0
= 0 ;
6898 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6903 PyErr_SetString(PyExc_TypeError
,"null reference");
6907 if (!wxPyCheckForApp()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6921 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6922 PyObject
*resultobj
;
6925 bool arg3
= (bool) False
;
6926 wxTimerRunner
*result
;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6931 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6936 PyErr_SetString(PyExc_TypeError
,"null reference");
6939 arg2
= (int) SWIG_AsInt(obj1
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 arg3
= (bool) SWIG_AsBool(obj2
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 if (!wxPyCheckForApp()) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6960 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6965 argc
= PyObject_Length(args
);
6966 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6981 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6984 if ((argc
>= 2) && (argc
<= 3)) {
6988 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6996 _v
= SWIG_CheckInt(argv
[1]);
6999 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7001 _v
= SWIG_CheckBool(argv
[2]);
7003 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7009 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7014 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7017 PyObject
* obj0
= 0 ;
7019 (char *) "self", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 Py_INCREF(Py_None
); resultobj
= Py_None
;
7039 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7043 bool arg3
= (bool) False
;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7048 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 arg2
= (int) SWIG_AsInt(obj1
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 arg3
= (bool) SWIG_AsBool(obj2
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 (arg1
)->Start(arg2
,arg3
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7077 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7079 return Py_BuildValue((char *)"");
7081 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxLog
*)new wxLog();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7103 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (bool)wxLog::IsEnabled();
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7127 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 bool arg1
= (bool) True
;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "doIt", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7138 arg1
= (bool) SWIG_AsBool(obj0
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (bool)wxLog::EnableLogging(arg1
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7157 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7160 wxChar
*arg2
= (wxChar
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7164 PyObject
* obj2
= 0 ;
7166 (char *) "level",(char *) "szString",(char *) "t", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7170 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7190 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxLog
*arg1
= (wxLog
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7195 (char *) "self", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 Py_INCREF(Py_None
); resultobj
= Py_None
;
7215 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxLog::FlushActive();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (wxLog
*)wxLog::GetActiveTarget();
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7258 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxLog
*arg1
= (wxLog
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "pLogger", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7284 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 Py_INCREF(Py_None
); resultobj
= Py_None
;
7305 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 bool arg1
= (bool) True
;
7329 PyObject
* obj0
= 0 ;
7331 (char *) "bVerbose", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7336 arg1
= (bool) SWIG_AsBool(obj0
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 wxLog::SetVerbose(arg1
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7356 PyObject
* obj0
= 0 ;
7358 (char *) "logLevel", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7362 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 wxLog::SetLogLevel(arg1
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 Py_INCREF(Py_None
); resultobj
= Py_None
;
7378 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxLog::DontCreateOnDemand();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "ulMask", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7408 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 wxLog::SetTraceMask(arg1
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxString
*arg1
= 0 ;
7427 bool temp1
= False
;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "str", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7435 arg1
= wxString_in_helper(obj0
);
7436 if (arg1
== NULL
) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 wxLog::AddTraceMask((wxString
const &)*arg1
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7461 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxString
*arg1
= 0 ;
7464 bool temp1
= False
;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "str", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7472 arg1
= wxString_in_helper(obj0
);
7473 if (arg1
== NULL
) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 Py_INCREF(Py_None
); resultobj
= Py_None
;
7498 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 wxLog::ClearTraceMasks();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxArrayString
*result
;
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7531 result
= (wxArrayString
*) &_result_ref
;
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= wxArrayString2PyList_helper(*result
);
7546 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxChar
*arg1
= (wxChar
*) 0 ;
7549 PyObject
* obj0
= 0 ;
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 wxLog::SetTimestamp((wxChar
const *)arg1
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 Py_INCREF(Py_None
); resultobj
= Py_None
;
7571 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (bool)wxLog::GetVerbose();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7595 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (wxTraceMask
)wxLog::GetTraceMask();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7617 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxChar
*arg1
= (wxChar
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "mask", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7645 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (wxLogLevel
)wxLog::GetLogLevel();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7667 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (wxChar
*)wxLog::GetTimestamp();
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7689 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= Log_TimeStamp();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7717 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxLog
*arg1
= (wxLog
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 wxLog_Destroy(arg1
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7742 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7745 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7747 return Py_BuildValue((char *)"");
7749 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxLogStderr
*result
;
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (wxLogStderr
*)new wxLogStderr();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7771 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7774 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7776 return Py_BuildValue((char *)"");
7778 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7781 wxLogTextCtrl
*result
;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "pTextCtrl", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7804 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7807 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7809 return Py_BuildValue((char *)"");
7811 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (wxLogGui
*)new wxLogGui();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7833 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7836 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7838 return Py_BuildValue((char *)"");
7840 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxFrame
*arg1
= (wxFrame
*) 0 ;
7843 wxString
*arg2
= 0 ;
7844 bool arg3
= (bool) True
;
7845 bool arg4
= (bool) True
;
7846 wxLogWindow
*result
;
7847 bool temp2
= False
;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7850 PyObject
* obj2
= 0 ;
7851 PyObject
* obj3
= 0 ;
7853 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 arg2
= wxString_in_helper(obj1
);
7861 if (arg2
== NULL
) SWIG_fail
;
7865 arg3
= (bool) SWIG_AsBool(obj2
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 arg4
= (bool) SWIG_AsBool(obj3
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7894 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7897 bool arg2
= (bool) True
;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7901 (char *) "self",(char *) "bShow", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7908 arg2
= (bool) SWIG_AsBool(obj1
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= wxPyMake_wxObject(result
);
7953 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7979 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8007 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "bDoPass", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 arg2
= (bool) SWIG_AsBool(obj1
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->PassMessages(arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8039 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8041 return Py_BuildValue((char *)"");
8043 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxLog
*arg1
= (wxLog
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "logger", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (wxLogChain
*)new wxLogChain(arg1
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8069 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8072 wxLog
*arg2
= (wxLog
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8074 PyObject
* obj1
= 0 ;
8076 (char *) "self",(char *) "logger", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 (arg1
)->SetLog(arg2
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 Py_INCREF(Py_None
); resultobj
= Py_None
;
8098 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8105 (char *) "self",(char *) "bDoPass", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8111 arg2
= (bool) SWIG_AsBool(obj1
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 (arg1
)->PassMessages(arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 Py_INCREF(Py_None
); resultobj
= Py_None
;
8127 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= (bool)(arg1
)->IsPassingMessages();
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8155 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (wxLog
*)(arg1
)->GetOldLog();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8181 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8184 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8186 return Py_BuildValue((char *)"");
8188 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 unsigned long result
;
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (unsigned long)wxSysErrorCode();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8210 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 unsigned long arg1
= (unsigned long) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "nErrCode", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8221 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= wxSysErrorMsg(arg1
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8244 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxString
*arg1
= 0 ;
8247 bool temp1
= False
;
8248 PyObject
* obj0
= 0 ;
8250 (char *) "msg", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8255 arg1
= wxString_in_helper(obj0
);
8256 if (arg1
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 wxLogFatalError((wxString
const &)*arg1
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxString
*arg1
= 0 ;
8284 bool temp1
= False
;
8285 PyObject
* obj0
= 0 ;
8287 (char *) "msg", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8292 arg1
= wxString_in_helper(obj0
);
8293 if (arg1
== NULL
) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 wxLogError((wxString
const &)*arg1
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxString
*arg1
= 0 ;
8321 bool temp1
= False
;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "msg", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8329 arg1
= wxString_in_helper(obj0
);
8330 if (arg1
== NULL
) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 wxLogWarning((wxString
const &)*arg1
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 Py_INCREF(Py_None
); resultobj
= Py_None
;
8355 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxString
*arg1
= 0 ;
8358 bool temp1
= False
;
8359 PyObject
* obj0
= 0 ;
8361 (char *) "msg", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8366 arg1
= wxString_in_helper(obj0
);
8367 if (arg1
== NULL
) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 wxLogMessage((wxString
const &)*arg1
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxString
*arg1
= 0 ;
8395 bool temp1
= False
;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "msg", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8403 arg1
= wxString_in_helper(obj0
);
8404 if (arg1
== NULL
) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 wxLogInfo((wxString
const &)*arg1
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxString
*arg1
= 0 ;
8432 bool temp1
= False
;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "msg", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8440 arg1
= wxString_in_helper(obj0
);
8441 if (arg1
== NULL
) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 wxLogDebug((wxString
const &)*arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 Py_INCREF(Py_None
); resultobj
= Py_None
;
8466 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxString
*arg1
= 0 ;
8469 bool temp1
= False
;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "msg", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8477 arg1
= wxString_in_helper(obj0
);
8478 if (arg1
== NULL
) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 wxLogVerbose((wxString
const &)*arg1
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 Py_INCREF(Py_None
); resultobj
= Py_None
;
8503 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxString
*arg1
= 0 ;
8506 bool temp1
= False
;
8507 PyObject
* obj0
= 0 ;
8509 (char *) "msg", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8514 arg1
= wxString_in_helper(obj0
);
8515 if (arg1
== NULL
) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 wxLogStatus((wxString
const &)*arg1
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxFrame
*arg1
= (wxFrame
*) 0 ;
8543 wxString
*arg2
= 0 ;
8544 bool temp2
= False
;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "pFrame",(char *) "msg", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 arg2
= wxString_in_helper(obj1
);
8556 if (arg2
== NULL
) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxString
*arg1
= 0 ;
8584 bool temp1
= False
;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "msg", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8592 arg1
= wxString_in_helper(obj0
);
8593 if (arg1
== NULL
) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxLogSysError((wxString
const &)*arg1
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8619 PyObject
*resultobj
;
8620 unsigned long arg1
;
8621 wxString
*arg2
= 0 ;
8622 bool temp2
= False
;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8626 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8627 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 arg2
= wxString_in_helper(obj1
);
8631 if (arg2
== NULL
) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8657 PyObject
*resultobj
;
8658 wxString
*arg1
= 0 ;
8659 wxString
*arg2
= 0 ;
8660 bool temp1
= False
;
8661 bool temp2
= False
;
8662 PyObject
* obj0
= 0 ;
8663 PyObject
* obj1
= 0 ;
8665 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8667 arg1
= wxString_in_helper(obj0
);
8668 if (arg1
== NULL
) SWIG_fail
;
8672 arg2
= wxString_in_helper(obj1
);
8673 if (arg2
== NULL
) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8706 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8711 argc
= PyObject_Length(args
);
8712 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8713 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8718 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8722 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8725 return _wrap_LogTrace__SWIG_1(self
,args
);
8731 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8734 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8737 return _wrap_LogTrace__SWIG_0(self
,args
);
8742 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8747 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 unsigned long arg1
;
8750 wxString
*arg2
= 0 ;
8751 bool temp2
= False
;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8755 (char *) "level",(char *) "msg", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8759 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 arg2
= wxString_in_helper(obj1
);
8763 if (arg2
== NULL
) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxString
*arg1
= 0 ;
8791 wxString
*arg2
= 0 ;
8792 bool temp1
= False
;
8793 bool temp2
= False
;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8797 (char *) "title",(char *) "text", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8802 arg1
= wxString_in_helper(obj0
);
8803 if (arg1
== NULL
) SWIG_fail
;
8807 arg2
= wxString_in_helper(obj1
);
8808 if (arg2
== NULL
) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (wxLogNull
*)new wxLogNull();
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8863 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "self", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8888 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8891 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8893 return Py_BuildValue((char *)"");
8895 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxPyLog
*)new wxPyLog();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8917 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8920 PyObject
*arg2
= (PyObject
*) 0 ;
8921 PyObject
*arg3
= (PyObject
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8926 (char *) "self",(char *) "self",(char *) "_class", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8951 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8953 return Py_BuildValue((char *)"");
8955 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8958 int arg2
= (int) wxSIGTERM
;
8960 PyObject
* obj0
= 0 ;
8961 PyObject
* obj1
= 0 ;
8963 (char *) "pid",(char *) "sig", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8967 arg1
= (int) SWIG_AsInt(obj0
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_FromInt((int)result
);
8987 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8991 PyObject
* obj0
= 0 ;
8993 (char *) "pid", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8997 arg1
= (int) SWIG_AsInt(obj0
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (bool)wxPyProcess::Exists(arg1
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9015 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxString
*arg1
= 0 ;
9018 int arg2
= (int) wxEXEC_ASYNC
;
9019 wxPyProcess
*result
;
9020 bool temp1
= False
;
9021 PyObject
* obj0
= 0 ;
9022 PyObject
* obj1
= 0 ;
9024 (char *) "cmd",(char *) "flags", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 arg1
= wxString_in_helper(obj0
);
9030 if (arg1
== NULL
) SWIG_fail
;
9034 arg2
= (int) SWIG_AsInt(obj1
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9059 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9062 int arg2
= (int) -1 ;
9063 wxPyProcess
*result
;
9064 PyObject
* obj0
= 0 ;
9065 PyObject
* obj1
= 0 ;
9067 (char *) "parent",(char *) "id", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9076 arg2
= (int) SWIG_AsInt(obj1
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9093 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9096 PyObject
*arg2
= (PyObject
*) 0 ;
9097 PyObject
*arg3
= (PyObject
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9102 (char *) "self",(char *) "self",(char *) "_class", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9133 (char *) "self",(char *) "pid",(char *) "status", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 arg2
= (int) SWIG_AsInt(obj1
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9141 arg3
= (int) SWIG_AsInt(obj2
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->base_OnTerminate(arg2
,arg3
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)(arg1
)->IsRedirected();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9210 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 Py_INCREF(Py_None
); resultobj
= Py_None
;
9235 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9238 wxInputStream
*result
;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "self", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 wxPyInputStream
* _ptr
= NULL
;
9258 _ptr
= new wxPyInputStream(result
);
9260 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9268 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9271 wxInputStream
*result
;
9272 PyObject
* obj0
= 0 ;
9274 (char *) "self", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 wxPyInputStream
* _ptr
= NULL
;
9291 _ptr
= new wxPyInputStream(result
);
9293 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9301 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9304 wxOutputStream
*result
;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9327 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9332 (char *) "self", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 (arg1
)->CloseOutput();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 Py_INCREF(Py_None
); resultobj
= Py_None
;
9352 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9408 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "self", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9436 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9439 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9441 return Py_BuildValue((char *)"");
9443 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 int arg1
= (int) 0 ;
9446 int arg2
= (int) 0 ;
9447 int arg3
= (int) 0 ;
9448 wxProcessEvent
*result
;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9451 PyObject
* obj2
= 0 ;
9453 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9458 arg1
= (int) SWIG_AsInt(obj0
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9462 arg2
= (int) SWIG_AsInt(obj1
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9466 arg3
= (int) SWIG_AsInt(obj2
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9483 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9489 (char *) "self", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (int)(arg1
)->GetPid();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_FromInt((int)result
);
9509 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (int)(arg1
)->GetExitCode();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_FromInt((int)result
);
9535 static PyObject
*_wrap_ProcessEvent_m_pid_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_pid", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_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_pid
= arg2
;
9552 Py_INCREF(Py_None
); resultobj
= Py_None
;
9559 static PyObject
*_wrap_ProcessEvent_m_pid_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_pid_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_pid
);
9573 resultobj
= SWIG_FromInt((int)result
);
9580 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "self",(char *) "m_exitcode", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9593 arg2
= (int) SWIG_AsInt(obj1
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9595 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9597 Py_INCREF(Py_None
); resultobj
= Py_None
;
9604 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 result
= (int) ((arg1
)->m_exitcode
);
9618 resultobj
= SWIG_FromInt((int)result
);
9625 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9628 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9630 return Py_BuildValue((char *)"");
9632 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxString
*arg1
= 0 ;
9635 int arg2
= (int) wxEXEC_ASYNC
;
9636 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9638 bool temp1
= False
;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 PyObject
* obj2
= 0 ;
9643 (char *) "command",(char *) "flags",(char *) "process", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9648 arg1
= wxString_in_helper(obj0
);
9649 if (arg1
== NULL
) SWIG_fail
;
9653 arg2
= (int) SWIG_AsInt(obj1
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9661 if (!wxPyCheckForApp()) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_FromLong((long)result
);
9683 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 int arg1
= (int) wxJOYSTICK1
;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "joystick", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9694 arg1
= (int) SWIG_AsInt(obj0
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 if (!wxPyCheckForApp()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (wxJoystick
*)new wxJoystick(arg1
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9712 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 Py_INCREF(Py_None
); resultobj
= Py_None
;
9737 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (arg1
)->GetPosition();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 wxPoint
* resultptr
;
9758 resultptr
= new wxPoint((wxPoint
&) result
);
9759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9767 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (int)(arg1
)->GetZPosition();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_FromInt((int)result
);
9793 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (int)(arg1
)->GetButtonState();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_FromInt((int)result
);
9819 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)(arg1
)->GetPOVPosition();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_FromInt((int)result
);
9845 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (int)(arg1
)->GetPOVCTSPosition();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_FromInt((int)result
);
9871 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (int)(arg1
)->GetRudderPosition();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_FromInt((int)result
);
9897 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (int)(arg1
)->GetUPosition();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_FromInt((int)result
);
9923 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "self", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (int)(arg1
)->GetVPosition();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_FromInt((int)result
);
9949 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (int)(arg1
)->GetMovementThreshold();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_FromInt((int)result
);
9975 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9982 (char *) "self",(char *) "threshold", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 arg2
= (int) SWIG_AsInt(obj1
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 (arg1
)->SetMovementThreshold(arg2
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 Py_INCREF(Py_None
); resultobj
= Py_None
;
10004 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (bool)(arg1
)->IsOk();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10032 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (int)(arg1
)->GetNumberJoysticks();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_FromInt((int)result
);
10058 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (int)(arg1
)->GetManufacturerId();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_FromInt((int)result
);
10084 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (int)(arg1
)->GetProductId();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_FromInt((int)result
);
10110 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (arg1
)->GetProductName();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10142 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (int)(arg1
)->GetXMin();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_FromInt((int)result
);
10168 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (int)(arg1
)->GetYMin();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_FromInt((int)result
);
10194 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (int)(arg1
)->GetZMin();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_FromInt((int)result
);
10220 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)(arg1
)->GetXMax();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_FromInt((int)result
);
10246 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (int)(arg1
)->GetYMax();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_FromInt((int)result
);
10272 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (int)(arg1
)->GetZMax();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_FromInt((int)result
);
10298 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (int)(arg1
)->GetNumberButtons();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_FromInt((int)result
);
10324 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (int)(arg1
)->GetNumberAxes();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_FromInt((int)result
);
10350 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (int)(arg1
)->GetMaxButtons();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_FromInt((int)result
);
10376 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (int)(arg1
)->GetMaxAxes();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= SWIG_FromInt((int)result
);
10402 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (int)(arg1
)->GetPollingMin();
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_FromInt((int)result
);
10428 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (int)(arg1
)->GetPollingMax();
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= SWIG_FromInt((int)result
);
10454 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (int)(arg1
)->GetRudderMin();
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_FromInt((int)result
);
10480 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (int)(arg1
)->GetRudderMax();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= SWIG_FromInt((int)result
);
10506 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (int)(arg1
)->GetUMin();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= SWIG_FromInt((int)result
);
10532 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (int)(arg1
)->GetUMax();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_FromInt((int)result
);
10558 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (int)(arg1
)->GetVMin();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_FromInt((int)result
);
10584 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (int)(arg1
)->GetVMax();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= SWIG_FromInt((int)result
);
10610 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10614 PyObject
* obj0
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (bool)(arg1
)->HasRudder();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10638 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (bool)(arg1
)->HasZ();
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10666 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (bool)(arg1
)->HasU();
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10694 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)(arg1
)->HasV();
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10722 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)(arg1
)->HasPOV();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->HasPOV4Dir();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10778 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (bool)(arg1
)->HasPOVCTS();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10806 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10809 wxWindow
*arg2
= (wxWindow
*) 0 ;
10810 int arg3
= (int) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10825 arg3
= (int) SWIG_AsInt(obj2
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10844 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (bool)(arg1
)->ReleaseCapture();
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10872 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10875 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10877 return Py_BuildValue((char *)"");
10879 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10882 wxPoint
*arg2
= (wxPoint
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "m_pos", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_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 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10894 if (arg1
) (arg1
)->m_pos
= *arg2
;
10896 Py_INCREF(Py_None
); resultobj
= Py_None
;
10903 static PyObject
*_wrap_JoystickEvent_m_pos_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_pos_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
= (wxPoint
*)& ((arg1
)->m_pos
);
10917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10924 static PyObject
*_wrap_JoystickEvent_m_zPosition_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_zPosition", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_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_zPosition
= arg2
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_JoystickEvent_m_zPosition_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_zPosition_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_zPosition
);
10962 resultobj
= SWIG_FromInt((int)result
);
10969 static PyObject
*_wrap_JoystickEvent_m_buttonChange_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_buttonChange", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_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_buttonChange
= arg2
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_JoystickEvent_m_buttonChange_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_buttonChange_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_buttonChange
);
11007 resultobj
= SWIG_FromInt((int)result
);
11014 static PyObject
*_wrap_JoystickEvent_m_buttonState_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_buttonState", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_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_buttonState
= arg2
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_JoystickEvent_m_buttonState_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_buttonState_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_buttonState
);
11052 resultobj
= SWIG_FromInt((int)result
);
11059 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "m_joyStick", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11072 arg2
= (int) SWIG_AsInt(obj1
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11074 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11076 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 result
= (int) ((arg1
)->m_joyStick
);
11097 resultobj
= SWIG_FromInt((int)result
);
11104 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11107 int arg2
= (int) 0 ;
11108 int arg3
= (int) wxJOYSTICK1
;
11109 int arg4
= (int) 0 ;
11110 wxJoystickEvent
*result
;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11121 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 arg2
= (int) SWIG_AsInt(obj1
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11129 arg3
= (int) SWIG_AsInt(obj2
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 arg4
= (int) SWIG_AsInt(obj3
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11150 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 wxPoint
* resultptr
;
11171 resultptr
= new wxPoint((wxPoint
&) result
);
11172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11180 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11184 PyObject
* obj0
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_FromInt((int)result
);
11206 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11210 PyObject
* obj0
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= SWIG_FromInt((int)result
);
11232 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= SWIG_FromInt((int)result
);
11258 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= SWIG_FromInt((int)result
);
11284 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self",(char *) "stick", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 arg2
= (int) SWIG_AsInt(obj1
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetJoystick(arg2
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11313 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 PyObject
* obj1
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "state", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11326 arg2
= (int) SWIG_AsInt(obj1
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 (arg1
)->SetButtonState(arg2
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 Py_INCREF(Py_None
); resultobj
= Py_None
;
11342 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self",(char *) "change", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11355 arg2
= (int) SWIG_AsInt(obj1
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->SetButtonChange(arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11374 wxPoint
*arg2
= 0 ;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self",(char *) "pos", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 Py_INCREF(Py_None
); resultobj
= Py_None
;
11403 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "zPos", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 arg2
= (int) SWIG_AsInt(obj1
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetZPosition(arg2
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11460 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11464 PyObject
* obj0
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11519 int arg2
= (int) wxJOY_BUTTON_ANY
;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "but", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 arg2
= (int) SWIG_AsInt(obj1
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11553 int arg2
= (int) wxJOY_BUTTON_ANY
;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self",(char *) "but", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 arg2
= (int) SWIG_AsInt(obj1
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11587 int arg2
= (int) wxJOY_BUTTON_ANY
;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "but", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 arg2
= (int) SWIG_AsInt(obj1
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11618 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11623 return Py_BuildValue((char *)"");
11625 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11628 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11630 bool temp1
= False
;
11631 PyObject
* obj0
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "fileName", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11639 arg1
= wxString_in_helper(obj0
);
11640 if (arg1
== NULL
) SWIG_fail
;
11645 if (!wxPyCheckForApp()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11667 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 PyObject
*arg1
= (PyObject
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "data", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11679 if (!wxPyCheckForApp()) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (wxSound
*)new_wxSound(arg1
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11693 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxSound
*arg1
= (wxSound
*) 0 ;
11696 PyObject
* obj0
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 Py_INCREF(Py_None
); resultobj
= Py_None
;
11718 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxSound
*arg1
= (wxSound
*) 0 ;
11721 wxString
*arg2
= 0 ;
11723 bool temp2
= False
;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "fileName", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 arg2
= wxString_in_helper(obj1
);
11735 if (arg2
== NULL
) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11762 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxSound
*arg1
= (wxSound
*) 0 ;
11765 PyObject
*arg2
= (PyObject
*) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 PyObject
* obj1
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self",(char *) "data", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11793 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxSound
*arg1
= (wxSound
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (bool)(arg1
)->IsOk();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11821 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxSound
*arg1
= (wxSound
*) 0 ;
11824 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "flags", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 if (!wxPyCheckForApp()) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11856 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxString
*arg1
= 0 ;
11859 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11861 bool temp1
= False
;
11862 PyObject
* obj0
= 0 ;
11863 PyObject
* obj1
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "filename",(char *) "flags", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11870 arg1
= wxString_in_helper(obj0
);
11871 if (arg1
== NULL
) SWIG_fail
;
11875 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 if (!wxPyCheckForApp()) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11903 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 char *kwnames
[] = {
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11911 if (!wxPyCheckForApp()) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 Py_INCREF(Py_None
); resultobj
= Py_None
;
11925 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11928 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11930 return Py_BuildValue((char *)"");
11932 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxString
*arg1
= 0 ;
11935 wxString
*arg2
= 0 ;
11936 wxString
*arg3
= 0 ;
11937 wxString
*arg4
= 0 ;
11938 wxFileTypeInfo
*result
;
11939 bool temp1
= False
;
11940 bool temp2
= False
;
11941 bool temp3
= False
;
11942 bool temp4
= False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11953 arg1
= wxString_in_helper(obj0
);
11954 if (arg1
== NULL
) SWIG_fail
;
11958 arg2
= wxString_in_helper(obj1
);
11959 if (arg2
== NULL
) SWIG_fail
;
11963 arg3
= wxString_in_helper(obj2
);
11964 if (arg3
== NULL
) SWIG_fail
;
11968 arg4
= wxString_in_helper(obj3
);
11969 if (arg4
== NULL
) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12018 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxArrayString
*arg1
= 0 ;
12021 wxFileTypeInfo
*result
;
12022 bool temp1
= False
;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "sArray", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12030 if (! PySequence_Check(obj0
)) {
12031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12034 arg1
= new wxArrayString
;
12036 int i
, len
=PySequence_Length(obj0
);
12037 for (i
=0; i
<len
; i
++) {
12038 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12040 PyObject
* str
= PyObject_Unicode(item
);
12042 PyObject
* str
= PyObject_Str(item
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12045 arg1
->Add(Py2wxString(str
));
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12059 if (temp1
) delete arg1
;
12064 if (temp1
) delete arg1
;
12070 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxFileTypeInfo
*result
;
12073 char *kwnames
[] = {
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12092 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12120 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12123 wxString
*arg2
= 0 ;
12124 int arg3
= (int) 0 ;
12125 bool temp2
= False
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (int) SWIG_AsInt(obj2
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 Py_INCREF(Py_None
); resultobj
= Py_None
;
12167 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12170 wxString
*arg2
= 0 ;
12171 bool temp2
= False
;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "shortDesc", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 arg2
= wxString_in_helper(obj1
);
12183 if (arg2
== NULL
) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12208 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12224 result
= (wxString
*) &_result_ref
;
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12234 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12243 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12259 result
= (wxString
*) &_result_ref
;
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12269 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12278 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12294 result
= (wxString
*) &_result_ref
;
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12304 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12313 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12329 result
= (wxString
*) &_result_ref
;
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12348 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12364 result
= (wxString
*) &_result_ref
;
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12374 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12383 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12386 wxArrayString
*result
;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12399 result
= (wxArrayString
*) &_result_ref
;
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= wxArrayString2PyList_helper(*result
);
12414 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_FromInt((int)result
);
12440 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12456 result
= (wxString
*) &_result_ref
;
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12466 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12475 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_FromInt((int)result
);
12501 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12504 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12506 return Py_BuildValue((char *)"");
12508 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxFileTypeInfo
*arg1
= 0 ;
12511 wxFileType
*result
;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "ftInfo", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12521 if (arg1
== NULL
) {
12522 PyErr_SetString(PyExc_TypeError
,"null reference");
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12539 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxFileType
*arg1
= (wxFileType
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 Py_INCREF(Py_None
); resultobj
= Py_None
;
12564 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxFileType
*arg1
= (wxFileType
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= result
;
12590 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxFileType
*arg1
= (wxFileType
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= result
;
12616 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxFileType
*arg1
= (wxFileType
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= result
;
12642 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxFileType
*arg1
= (wxFileType
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12668 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxFileType
*arg1
= (wxFileType
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
;
12694 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxFileType
*arg1
= (wxFileType
*) 0 ;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
;
12720 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxFileType
*arg1
= (wxFileType
*) 0 ;
12723 wxString
*arg2
= 0 ;
12724 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12725 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12727 bool temp2
= False
;
12728 bool temp3
= False
;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 PyObject
* obj2
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 arg2
= wxString_in_helper(obj1
);
12741 if (arg2
== NULL
) SWIG_fail
;
12746 arg3
= wxString_in_helper(obj2
);
12747 if (arg3
== NULL
) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= result
;
12781 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxFileType
*arg1
= (wxFileType
*) 0 ;
12784 wxString
*arg2
= 0 ;
12785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12788 bool temp2
= False
;
12789 bool temp3
= False
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12801 arg2
= wxString_in_helper(obj1
);
12802 if (arg2
== NULL
) SWIG_fail
;
12807 arg3
= wxString_in_helper(obj2
);
12808 if (arg3
== NULL
) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= result
;
12842 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxFileType
*arg1
= (wxFileType
*) 0 ;
12845 wxString
*arg2
= 0 ;
12846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12849 bool temp2
= False
;
12850 bool temp3
= False
;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 PyObject
* obj2
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 arg2
= wxString_in_helper(obj1
);
12863 if (arg2
== NULL
) SWIG_fail
;
12868 arg3
= wxString_in_helper(obj2
);
12869 if (arg3
== NULL
) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= result
;
12903 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxFileType
*arg1
= (wxFileType
*) 0 ;
12906 wxString
*arg2
= 0 ;
12907 wxString
*arg3
= 0 ;
12908 bool arg4
= (bool) True
;
12910 bool temp2
= False
;
12911 bool temp3
= False
;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 PyObject
* obj2
= 0 ;
12915 PyObject
* obj3
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 arg2
= wxString_in_helper(obj1
);
12925 if (arg2
== NULL
) SWIG_fail
;
12929 arg3
= wxString_in_helper(obj2
);
12930 if (arg3
== NULL
) SWIG_fail
;
12934 arg4
= (bool) SWIG_AsBool(obj3
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxFileType
*arg1
= (wxFileType
*) 0 ;
12972 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12973 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12974 int arg3
= (int) 0 ;
12976 bool temp2
= False
;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 PyObject
* obj2
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self",(char *) "cmd",(char *) "index", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12989 arg2
= wxString_in_helper(obj1
);
12990 if (arg2
== NULL
) SWIG_fail
;
12995 arg3
= (int) SWIG_AsInt(obj2
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13022 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxFileType
*arg1
= (wxFileType
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (bool)(arg1
)->Unassociate();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13050 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxString
*arg1
= 0 ;
13053 wxString
*arg2
= 0 ;
13054 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13055 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13057 bool temp1
= False
;
13058 bool temp2
= False
;
13059 bool temp3
= False
;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 PyObject
* obj2
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13069 arg1
= wxString_in_helper(obj0
);
13070 if (arg1
== NULL
) SWIG_fail
;
13074 arg2
= wxString_in_helper(obj1
);
13075 if (arg2
== NULL
) SWIG_fail
;
13080 arg3
= wxString_in_helper(obj2
);
13081 if (arg3
== NULL
) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13129 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13132 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13134 return Py_BuildValue((char *)"");
13136 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13137 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13142 static PyObject
*_wrap_TheMimeTypesManager_get() {
13145 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13150 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxString
*arg1
= 0 ;
13153 wxString
*arg2
= 0 ;
13155 bool temp1
= False
;
13156 bool temp2
= False
;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "mimeType",(char *) "wildcard", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 arg1
= wxString_in_helper(obj0
);
13166 if (arg1
== NULL
) SWIG_fail
;
13170 arg2
= wxString_in_helper(obj1
);
13171 if (arg2
== NULL
) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13206 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxMimeTypesManager
*result
;
13209 char *kwnames
[] = {
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13228 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13231 int arg2
= (int) wxMAILCAP_ALL
;
13232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13234 bool temp3
= False
;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 PyObject
* obj2
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 arg2
= (int) SWIG_AsInt(obj1
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13251 arg3
= wxString_in_helper(obj2
);
13252 if (arg3
== NULL
) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13278 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->ClearData();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13306 wxString
*arg2
= 0 ;
13307 wxFileType
*result
;
13308 bool temp2
= False
;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "ext", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 arg2
= wxString_in_helper(obj1
);
13320 if (arg2
== NULL
) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13345 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13348 wxString
*arg2
= 0 ;
13349 wxFileType
*result
;
13350 bool temp2
= False
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "mimeType", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= wxString_in_helper(obj1
);
13362 if (arg2
== NULL
) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13387 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13390 wxString
*arg2
= 0 ;
13391 bool arg3
= (bool) False
;
13393 bool temp2
= False
;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 PyObject
* obj2
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 arg2
= wxString_in_helper(obj1
);
13406 if (arg2
== NULL
) SWIG_fail
;
13410 arg3
= (bool) SWIG_AsBool(obj2
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13437 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13440 wxString
*arg2
= 0 ;
13442 bool temp2
= False
;
13443 PyObject
* obj0
= 0 ;
13444 PyObject
* obj1
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "filename", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 arg2
= wxString_in_helper(obj1
);
13454 if (arg2
== NULL
) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= result
;
13507 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13510 wxFileTypeInfo
*arg2
= 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "ft", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13523 if (arg2
== NULL
) {
13524 PyErr_SetString(PyExc_TypeError
,"null reference");
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13544 wxFileTypeInfo
*arg2
= 0 ;
13545 wxFileType
*result
;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "ftInfo", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13558 if (arg2
== NULL
) {
13559 PyErr_SetString(PyExc_TypeError
,"null reference");
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13576 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13579 wxFileType
*arg2
= (wxFileType
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "ft", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (bool)(arg1
)->Unassociate(arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13608 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 Py_INCREF(Py_None
); resultobj
= Py_None
;
13633 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13636 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13638 return Py_BuildValue((char *)"");
13640 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13641 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13646 static PyObject
*_wrap_ART_TOOLBAR_get() {
13651 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13653 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13660 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13661 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13666 static PyObject
*_wrap_ART_MENU_get() {
13671 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13673 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13680 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13681 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13686 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13691 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13693 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13700 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13701 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13706 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13711 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13713 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13720 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13721 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13726 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13731 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13733 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13740 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13741 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13746 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13751 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13753 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13760 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13761 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13766 static PyObject
*_wrap_ART_OTHER_get() {
13771 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13773 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13780 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13781 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13786 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13791 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13793 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13800 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13801 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13806 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13811 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13813 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13820 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13821 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13826 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13831 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13833 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13840 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13841 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13846 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13851 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13853 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13860 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13861 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13866 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13871 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13873 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13880 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13881 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13886 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13891 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13893 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13900 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13901 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13906 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13911 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13913 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13920 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13921 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13926 static PyObject
*_wrap_ART_GO_BACK_get() {
13931 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13933 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13940 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13941 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13946 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13951 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13953 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13960 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13961 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13966 static PyObject
*_wrap_ART_GO_UP_get() {
13971 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13973 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13980 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13981 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13986 static PyObject
*_wrap_ART_GO_DOWN_get() {
13991 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13993 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14000 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14001 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14006 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14011 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14013 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14020 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14021 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14026 static PyObject
*_wrap_ART_GO_HOME_get() {
14031 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14033 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14040 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14041 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14046 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14051 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14053 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14060 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14061 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14066 static PyObject
*_wrap_ART_PRINT_get() {
14071 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14073 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14080 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14081 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14086 static PyObject
*_wrap_ART_HELP_get() {
14091 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14093 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14100 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14101 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14106 static PyObject
*_wrap_ART_TIP_get() {
14111 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14113 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14120 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14121 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14126 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14131 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14133 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14140 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14141 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14146 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14151 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14153 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14160 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14161 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14166 static PyObject
*_wrap_ART_NEW_DIR_get() {
14171 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14173 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14180 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14181 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14186 static PyObject
*_wrap_ART_FOLDER_get() {
14191 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14193 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14200 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14201 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14206 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14211 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14213 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14220 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14221 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14226 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14231 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14233 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14240 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14241 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14246 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14251 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14253 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14260 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14261 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14266 static PyObject
*_wrap_ART_TICK_MARK_get() {
14271 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14273 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14280 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14281 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14286 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14291 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14293 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14300 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14301 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14306 static PyObject
*_wrap_ART_ERROR_get() {
14311 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14313 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14320 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14321 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14326 static PyObject
*_wrap_ART_QUESTION_get() {
14331 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14333 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14340 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14341 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14346 static PyObject
*_wrap_ART_WARNING_get() {
14351 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14353 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14360 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14361 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14366 static PyObject
*_wrap_ART_INFORMATION_get() {
14371 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14373 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14380 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14381 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14386 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14391 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14393 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14400 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxPyArtProvider
*result
;
14403 char *kwnames
[] = {
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14409 if (!wxPyCheckForApp()) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14423 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14426 PyObject
*arg2
= (PyObject
*) 0 ;
14427 PyObject
*arg3
= (PyObject
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 PyObject
* obj2
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "self",(char *) "_class", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "provider", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 wxPyArtProvider::PushProvider(arg1
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14482 char *kwnames
[] = {
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (bool)wxPyArtProvider::PopProvider();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14503 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "provider", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxString
*arg1
= 0 ;
14534 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14535 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14536 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14537 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14539 bool temp1
= False
;
14540 bool temp2
= False
;
14542 PyObject
* obj0
= 0 ;
14543 PyObject
* obj1
= 0 ;
14544 PyObject
* obj2
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "id",(char *) "client",(char *) "size", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14551 arg1
= wxString_in_helper(obj0
);
14552 if (arg1
== NULL
) SWIG_fail
;
14557 arg2
= wxString_in_helper(obj1
);
14558 if (arg2
== NULL
) SWIG_fail
;
14565 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14569 if (!wxPyCheckForApp()) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 wxBitmap
* resultptr
;
14578 resultptr
= new wxBitmap((wxBitmap
&) result
);
14579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14603 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxString
*arg1
= 0 ;
14606 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14607 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14608 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14609 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14611 bool temp1
= False
;
14612 bool temp2
= False
;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "id",(char *) "client",(char *) "size", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14623 arg1
= wxString_in_helper(obj0
);
14624 if (arg1
== NULL
) SWIG_fail
;
14629 arg2
= wxString_in_helper(obj1
);
14630 if (arg2
== NULL
) SWIG_fail
;
14637 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14641 if (!wxPyCheckForApp()) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 wxIcon
* resultptr
;
14650 resultptr
= new wxIcon((wxIcon
&) result
);
14651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14675 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 wxPyArtProvider_Destroy(arg1
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 Py_INCREF(Py_None
); resultobj
= Py_None
;
14700 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14703 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14705 return Py_BuildValue((char *)"");
14707 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14735 wxConfigBase
*result
;
14736 PyObject
* obj0
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "config", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14758 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 bool arg1
= (bool) True
;
14761 wxConfigBase
*result
;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "createOnDemand", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14769 arg1
= (bool) SWIG_AsBool(obj0
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14786 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxConfigBase
*result
;
14789 char *kwnames
[] = {
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxConfigBase
*)wxConfigBase::Create();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14808 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 char *kwnames
[] = {
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 wxConfigBase::DontCreateOnDemand();
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 Py_INCREF(Py_None
); resultobj
= Py_None
;
14829 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14832 wxString
*arg2
= 0 ;
14833 bool temp2
= False
;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self",(char *) "path", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 arg2
= wxString_in_helper(obj1
);
14845 if (arg2
== NULL
) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 (arg1
)->SetPath((wxString
const &)*arg2
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14886 result
= (wxString
*) &_result_ref
;
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14905 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
;
14907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= result
;
14931 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "index", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 arg2
= (long) SWIG_AsLong(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= result
;
14961 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= result
;
14987 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "index", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 arg2
= (long) SWIG_AsLong(obj1
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= result
;
15017 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15020 bool arg2
= (bool) False
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "recursive", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 arg2
= (bool) SWIG_AsBool(obj1
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15049 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15052 bool arg2
= (bool) False
;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self",(char *) "recursive", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 arg2
= (bool) SWIG_AsBool(obj1
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15081 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15084 wxString
*arg2
= 0 ;
15086 bool temp2
= False
;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self",(char *) "name", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 arg2
= wxString_in_helper(obj1
);
15098 if (arg2
== NULL
) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15125 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15128 wxString
*arg2
= 0 ;
15130 bool temp2
= False
;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "name", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15169 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15172 wxString
*arg2
= 0 ;
15174 bool temp2
= False
;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "name", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 arg2
= wxString_in_helper(obj1
);
15186 if (arg2
== NULL
) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15216 wxString
*arg2
= 0 ;
15218 bool temp2
= False
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "name", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 arg2
= wxString_in_helper(obj1
);
15230 if (arg2
== NULL
) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_FromInt((int)result
);
15255 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15258 wxString
*arg2
= 0 ;
15259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15262 bool temp2
= False
;
15263 bool temp3
= False
;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 arg2
= wxString_in_helper(obj1
);
15276 if (arg2
== NULL
) SWIG_fail
;
15281 arg3
= wxString_in_helper(obj2
);
15282 if (arg3
== NULL
) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15322 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15325 wxString
*arg2
= 0 ;
15326 long arg3
= (long) 0 ;
15328 bool temp2
= False
;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 PyObject
* obj2
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 arg2
= wxString_in_helper(obj1
);
15341 if (arg2
== NULL
) SWIG_fail
;
15345 arg3
= (long) SWIG_AsLong(obj2
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= SWIG_FromLong((long)result
);
15370 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15373 wxString
*arg2
= 0 ;
15374 double arg3
= (double) 0.0 ;
15376 bool temp2
= False
;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 arg2
= wxString_in_helper(obj1
);
15389 if (arg2
== NULL
) SWIG_fail
;
15393 arg3
= (double) SWIG_AsDouble(obj2
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_FromDouble((double)result
);
15418 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15421 wxString
*arg2
= 0 ;
15422 bool arg3
= (bool) False
;
15424 bool temp2
= False
;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 PyObject
* obj2
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 arg2
= wxString_in_helper(obj1
);
15437 if (arg2
== NULL
) SWIG_fail
;
15441 arg3
= (bool) SWIG_AsBool(obj2
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15471 wxString
*arg2
= 0 ;
15472 wxString
*arg3
= 0 ;
15474 bool temp2
= False
;
15475 bool temp3
= False
;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 PyObject
* obj2
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "key",(char *) "value", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 arg2
= wxString_in_helper(obj1
);
15488 if (arg2
== NULL
) SWIG_fail
;
15492 arg3
= wxString_in_helper(obj2
);
15493 if (arg3
== NULL
) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15528 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15531 wxString
*arg2
= 0 ;
15534 bool temp2
= False
;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self",(char *) "key",(char *) "value", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 arg2
= wxString_in_helper(obj1
);
15547 if (arg2
== NULL
) SWIG_fail
;
15550 arg3
= (long) SWIG_AsLong(obj2
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15576 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15579 wxString
*arg2
= 0 ;
15582 bool temp2
= False
;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 PyObject
* obj2
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self",(char *) "key",(char *) "value", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 arg2
= wxString_in_helper(obj1
);
15595 if (arg2
== NULL
) SWIG_fail
;
15598 arg3
= (double) SWIG_AsDouble(obj2
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15624 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15627 wxString
*arg2
= 0 ;
15630 bool temp2
= False
;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self",(char *) "key",(char *) "value", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 arg2
= wxString_in_helper(obj1
);
15643 if (arg2
== NULL
) SWIG_fail
;
15646 arg3
= (bool) SWIG_AsBool(obj2
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15675 bool arg2
= (bool) False
;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "currentOnly", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15687 arg2
= (bool) SWIG_AsBool(obj1
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (bool)(arg1
)->Flush(arg2
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15709 wxString
*arg2
= 0 ;
15710 wxString
*arg3
= 0 ;
15712 bool temp2
= False
;
15713 bool temp3
= False
;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 PyObject
* obj2
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15725 arg2
= wxString_in_helper(obj1
);
15726 if (arg2
== NULL
) SWIG_fail
;
15730 arg3
= wxString_in_helper(obj2
);
15731 if (arg3
== NULL
) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15769 wxString
*arg2
= 0 ;
15770 wxString
*arg3
= 0 ;
15772 bool temp2
= False
;
15773 bool temp3
= False
;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 arg2
= wxString_in_helper(obj1
);
15786 if (arg2
== NULL
) SWIG_fail
;
15790 arg3
= wxString_in_helper(obj2
);
15791 if (arg3
== NULL
) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15826 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15829 wxString
*arg2
= 0 ;
15830 bool arg3
= (bool) True
;
15832 bool temp2
= False
;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 PyObject
* obj2
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 arg2
= wxString_in_helper(obj1
);
15845 if (arg2
== NULL
) SWIG_fail
;
15849 arg3
= (bool) SWIG_AsBool(obj2
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15876 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15879 wxString
*arg2
= 0 ;
15881 bool temp2
= False
;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "key", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15892 arg2
= wxString_in_helper(obj1
);
15893 if (arg2
== NULL
) SWIG_fail
;
15897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15898 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15920 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (bool)(arg1
)->DeleteAll();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15948 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15951 bool arg2
= (bool) True
;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "doIt", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 arg2
= (bool) SWIG_AsBool(obj1
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 (arg1
)->SetExpandEnvVars(arg2
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 Py_INCREF(Py_None
); resultobj
= Py_None
;
15979 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16010 bool arg2
= (bool) True
;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "doIt", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 arg2
= (bool) SWIG_AsBool(obj1
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 (arg1
)->SetRecordDefaults(arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 Py_INCREF(Py_None
); resultobj
= Py_None
;
16038 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16069 wxString
*arg2
= 0 ;
16071 bool temp2
= False
;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "str", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 arg2
= wxString_in_helper(obj1
);
16083 if (arg2
== NULL
) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16114 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16146 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16178 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16181 wxString
*arg2
= 0 ;
16182 bool temp2
= False
;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self",(char *) "appName", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 arg2
= wxString_in_helper(obj1
);
16194 if (arg2
== NULL
) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 (arg1
)->SetAppName((wxString
const &)*arg2
);
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16222 wxString
*arg2
= 0 ;
16223 bool temp2
= False
;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self",(char *) "vendorName", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 arg2
= wxString_in_helper(obj1
);
16235 if (arg2
== NULL
) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 Py_INCREF(Py_None
); resultobj
= Py_None
;
16260 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self",(char *) "style", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 arg2
= (long) SWIG_AsLong(obj1
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->SetStyle(arg2
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 Py_INCREF(Py_None
); resultobj
= Py_None
;
16289 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= SWIG_FromLong((long)result
);
16315 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16318 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16320 return Py_BuildValue((char *)"");
16322 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16325 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16326 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16327 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16330 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16331 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16332 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16334 bool temp1
= False
;
16335 bool temp2
= False
;
16336 bool temp3
= False
;
16337 bool temp4
= False
;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 PyObject
* obj2
= 0 ;
16341 PyObject
* obj3
= 0 ;
16342 PyObject
* obj4
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16350 arg1
= wxString_in_helper(obj0
);
16351 if (arg1
== NULL
) SWIG_fail
;
16357 arg2
= wxString_in_helper(obj1
);
16358 if (arg2
== NULL
) SWIG_fail
;
16364 arg3
= wxString_in_helper(obj2
);
16365 if (arg3
== NULL
) SWIG_fail
;
16371 arg4
= wxString_in_helper(obj3
);
16372 if (arg4
== NULL
) SWIG_fail
;
16377 arg5
= (long) SWIG_AsLong(obj4
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16426 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxConfig
*arg1
= (wxConfig
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16454 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16456 return Py_BuildValue((char *)"");
16458 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16461 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16462 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16463 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16466 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16468 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16469 wxFileConfig
*result
;
16470 bool temp1
= False
;
16471 bool temp2
= False
;
16472 bool temp3
= False
;
16473 bool temp4
= False
;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 PyObject
* obj2
= 0 ;
16477 PyObject
* obj3
= 0 ;
16478 PyObject
* obj4
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16486 arg1
= wxString_in_helper(obj0
);
16487 if (arg1
== NULL
) SWIG_fail
;
16493 arg2
= wxString_in_helper(obj1
);
16494 if (arg2
== NULL
) SWIG_fail
;
16500 arg3
= wxString_in_helper(obj2
);
16501 if (arg3
== NULL
) SWIG_fail
;
16507 arg4
= wxString_in_helper(obj3
);
16508 if (arg4
== NULL
) SWIG_fail
;
16513 arg5
= (long) SWIG_AsLong(obj4
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16562 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 Py_INCREF(Py_None
); resultobj
= Py_None
;
16587 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16590 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16592 return Py_BuildValue((char *)"");
16594 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16597 wxString
*arg2
= 0 ;
16598 wxConfigPathChanger
*result
;
16599 bool temp2
= False
;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "config",(char *) "entry", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 arg2
= wxString_in_helper(obj1
);
16611 if (arg2
== NULL
) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16636 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16661 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16677 result
= (wxString
*) &_result_ref
;
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16687 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16696 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16699 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16701 return Py_BuildValue((char *)"");
16703 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxString
*arg1
= 0 ;
16707 bool temp1
= False
;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "sz", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16715 arg1
= wxString_in_helper(obj0
);
16716 if (arg1
== NULL
) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16747 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16748 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16753 static PyObject
*_wrap_DateFormatStr_get() {
16758 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16760 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16767 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16768 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16773 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16778 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16780 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16787 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "country", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16796 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16815 char *kwnames
[] = {
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (int)wxDateTime::GetCountry();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_FromInt((int)result
);
16834 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 int arg1
= (int) wxDateTime::Country_Default
;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "country", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16845 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16864 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 int arg1
= (int) wxDateTime::Gregorian
;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "cal", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16875 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_FromInt((int)result
);
16892 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "year", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16902 arg1
= (int) SWIG_AsInt(obj0
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= SWIG_FromInt((int)result
);
16918 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 int arg1
= (int) wxDateTime::Gregorian
;
16922 PyObject
* obj0
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "cal", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16929 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_FromInt((int)result
);
16946 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 int arg1
= (int) wxDateTime::Inv_Year
;
16949 int arg2
= (int) wxDateTime::Gregorian
;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "year",(char *) "cal", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16959 arg1
= (int) SWIG_AsInt(obj0
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16982 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 int arg1
= (int) wxDateTime::Inv_Year
;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "year", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16993 arg1
= (int) SWIG_AsInt(obj0
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (int)wxDateTime::GetCentury(arg1
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_FromInt((int)result
);
17010 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17013 int arg2
= (int) wxDateTime::Gregorian
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "year",(char *) "cal", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17022 arg1
= (int) SWIG_AsInt(obj0
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_FromInt((int)result
);
17042 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17045 int arg2
= (int) wxDateTime::Inv_Year
;
17046 int arg3
= (int) wxDateTime::Gregorian
;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 PyObject
* obj2
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "month",(char *) "year",(char *) "cal", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17056 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 arg2
= (int) SWIG_AsInt(obj1
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= SWIG_FromInt((int)result
);
17080 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17083 int arg2
= (int) wxDateTime::Name_Full
;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "month",(char *) "flags", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17092 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17118 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17121 int arg2
= (int) wxDateTime::Name_Full
;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "weekday",(char *) "flags", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17130 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17156 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxString
*arg1
= (wxString
*) 0 ;
17159 wxString
*arg2
= (wxString
*) 0 ;
17160 bool temp1
= False
;
17161 bool temp2
= False
;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17170 arg1
= wxString_in_helper(obj0
);
17171 if (arg1
== NULL
) SWIG_fail
;
17175 arg2
= wxString_in_helper(obj1
);
17176 if (arg2
== NULL
) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 Py_INCREF(Py_None
); resultobj
= Py_None
;
17209 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 int arg1
= (int) wxDateTime::Inv_Year
;
17212 int arg2
= (int) wxDateTime::Country_Default
;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "year",(char *) "country", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17222 arg1
= (int) SWIG_AsInt(obj0
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17245 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 int arg1
= (int) wxDateTime::Inv_Year
;
17248 int arg2
= (int) wxDateTime::Country_Default
;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "year",(char *) "country", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17258 arg1
= (int) SWIG_AsInt(obj0
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 wxDateTime
* resultptr
;
17274 resultptr
= new wxDateTime((wxDateTime
&) result
);
17275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17283 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 int arg1
= (int) wxDateTime::Inv_Year
;
17286 int arg2
= (int) wxDateTime::Country_Default
;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "year",(char *) "country", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17296 arg1
= (int) SWIG_AsInt(obj0
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 wxDateTime
* resultptr
;
17312 resultptr
= new wxDateTime((wxDateTime
&) result
);
17313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17321 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17324 char *kwnames
[] = {
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= wxDateTime::Now();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 wxDateTime
* resultptr
;
17338 resultptr
= new wxDateTime((wxDateTime
&) result
);
17339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17347 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17350 char *kwnames
[] = {
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= wxDateTime::UNow();
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 wxDateTime
* resultptr
;
17364 resultptr
= new wxDateTime((wxDateTime
&) result
);
17365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17373 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17376 char *kwnames
[] = {
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= wxDateTime::Today();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 wxDateTime
* resultptr
;
17390 resultptr
= new wxDateTime((wxDateTime
&) result
);
17391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17399 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxDateTime
*result
;
17402 char *kwnames
[] = {
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (wxDateTime
*)new wxDateTime();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17421 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17424 wxDateTime
*result
;
17425 PyObject
* obj0
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "timet", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17431 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (wxDateTime
*)new wxDateTime(arg1
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17447 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17450 wxDateTime
*result
;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "jdn", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17457 arg1
= (double) SWIG_AsDouble(obj0
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxDateTime
*)new wxDateTime(arg1
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17473 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17476 int arg2
= (int) 0 ;
17477 int arg3
= (int) 0 ;
17478 int arg4
= (int) 0 ;
17479 wxDateTime
*result
;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 PyObject
* obj2
= 0 ;
17483 PyObject
* obj3
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17489 arg1
= (int) SWIG_AsInt(obj0
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 arg2
= (int) SWIG_AsInt(obj1
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17496 arg3
= (int) SWIG_AsInt(obj2
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 arg4
= (int) SWIG_AsInt(obj3
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17517 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17520 int arg2
= (int) wxDateTime::Inv_Month
;
17521 int arg3
= (int) wxDateTime::Inv_Year
;
17522 int arg4
= (int) 0 ;
17523 int arg5
= (int) 0 ;
17524 int arg6
= (int) 0 ;
17525 int arg7
= (int) 0 ;
17526 wxDateTime
*result
;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 PyObject
* obj2
= 0 ;
17530 PyObject
* obj3
= 0 ;
17531 PyObject
* obj4
= 0 ;
17532 PyObject
* obj5
= 0 ;
17533 PyObject
* obj6
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17539 arg1
= (int) SWIG_AsInt(obj0
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 arg3
= (int) SWIG_AsInt(obj2
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 arg4
= (int) SWIG_AsInt(obj3
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 arg5
= (int) SWIG_AsInt(obj4
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 arg6
= (int) SWIG_AsInt(obj5
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 arg7
= (int) SWIG_AsInt(obj6
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17579 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17604 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17607 wxDateTime
*result
;
17608 PyObject
* obj0
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17620 result
= (wxDateTime
*) &_result_ref
;
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17633 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17637 wxDateTime
*result
;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "timet", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17653 result
= (wxDateTime
*) &_result_ref
;
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17666 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17670 wxDateTime
*result
;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "jdn", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17680 arg2
= (double) SWIG_AsDouble(obj1
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17686 result
= (wxDateTime
*) &_result_ref
;
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17699 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17703 int arg3
= (int) 0 ;
17704 int arg4
= (int) 0 ;
17705 int arg5
= (int) 0 ;
17706 wxDateTime
*result
;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 PyObject
* obj3
= 0 ;
17711 PyObject
* obj4
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 arg2
= (int) SWIG_AsInt(obj1
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 arg3
= (int) SWIG_AsInt(obj2
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 arg4
= (int) SWIG_AsInt(obj3
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17730 arg5
= (int) SWIG_AsInt(obj4
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17737 result
= (wxDateTime
*) &_result_ref
;
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17750 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17754 int arg3
= (int) wxDateTime::Inv_Month
;
17755 int arg4
= (int) wxDateTime::Inv_Year
;
17756 int arg5
= (int) 0 ;
17757 int arg6
= (int) 0 ;
17758 int arg7
= (int) 0 ;
17759 int arg8
= (int) 0 ;
17760 wxDateTime
*result
;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 PyObject
* obj2
= 0 ;
17764 PyObject
* obj3
= 0 ;
17765 PyObject
* obj4
= 0 ;
17766 PyObject
* obj5
= 0 ;
17767 PyObject
* obj6
= 0 ;
17768 PyObject
* obj7
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 arg2
= (int) SWIG_AsInt(obj1
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17783 arg4
= (int) SWIG_AsInt(obj3
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 arg5
= (int) SWIG_AsInt(obj4
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 arg6
= (int) SWIG_AsInt(obj5
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17795 arg7
= (int) SWIG_AsInt(obj6
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 arg8
= (int) SWIG_AsInt(obj7
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17806 result
= (wxDateTime
*) &_result_ref
;
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17819 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17822 wxDateTime
*result
;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17835 result
= (wxDateTime
*) &_result_ref
;
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17848 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17852 wxDateTime
*result
;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "year", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 arg2
= (int) SWIG_AsInt(obj1
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17868 result
= (wxDateTime
*) &_result_ref
;
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17881 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17885 wxDateTime
*result
;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "month", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17901 result
= (wxDateTime
*) &_result_ref
;
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17914 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17918 wxDateTime
*result
;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "day", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 arg2
= (int) SWIG_AsInt(obj1
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17934 result
= (wxDateTime
*) &_result_ref
;
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17947 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17951 wxDateTime
*result
;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "hour", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (int) SWIG_AsInt(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17967 result
= (wxDateTime
*) &_result_ref
;
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17980 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17984 wxDateTime
*result
;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "minute", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 arg2
= (int) SWIG_AsInt(obj1
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18000 result
= (wxDateTime
*) &_result_ref
;
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18013 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18017 wxDateTime
*result
;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "second", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18027 arg2
= (int) SWIG_AsInt(obj1
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18033 result
= (wxDateTime
*) &_result_ref
;
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18046 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18050 wxDateTime
*result
;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "millisecond", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 arg2
= (int) SWIG_AsInt(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18066 result
= (wxDateTime
*) &_result_ref
;
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18079 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18083 int arg3
= (int) wxDateTime::Monday_First
;
18084 wxDateTime
*result
;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 PyObject
* obj2
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18105 result
= (wxDateTime
*) &_result_ref
;
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18118 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18122 int arg3
= (int) wxDateTime::Monday_First
;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 wxDateTime
* resultptr
;
18149 resultptr
= new wxDateTime((wxDateTime
&) result
);
18150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18158 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18162 wxDateTime
*result
;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self",(char *) "weekday", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18172 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18178 result
= (wxDateTime
*) &_result_ref
;
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18191 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "weekday", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 wxDateTime
* resultptr
;
18216 resultptr
= new wxDateTime((wxDateTime
&) result
);
18217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18225 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18229 wxDateTime
*result
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "weekday", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18245 result
= (wxDateTime
*) &_result_ref
;
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18258 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "weekday", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18272 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18282 wxDateTime
* resultptr
;
18283 resultptr
= new wxDateTime((wxDateTime
&) result
);
18284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18292 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18296 int arg3
= (int) 1 ;
18297 int arg4
= (int) wxDateTime::Inv_Month
;
18298 int arg5
= (int) wxDateTime::Inv_Year
;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 PyObject
* obj2
= 0 ;
18303 PyObject
* obj3
= 0 ;
18304 PyObject
* obj4
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 arg3
= (int) SWIG_AsInt(obj2
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 arg5
= (int) SWIG_AsInt(obj4
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18342 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18346 int arg3
= (int) wxDateTime::Inv_Month
;
18347 int arg4
= (int) wxDateTime::Inv_Year
;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 PyObject
* obj2
= 0 ;
18352 PyObject
* obj3
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18360 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 arg4
= (int) SWIG_AsInt(obj3
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18386 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18390 int arg3
= (int) wxDateTime::Inv_Month
;
18391 int arg4
= (int) wxDateTime::Inv_Year
;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 PyObject
* obj2
= 0 ;
18396 PyObject
* obj3
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 arg4
= (int) SWIG_AsInt(obj3
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 wxDateTime
* resultptr
;
18423 resultptr
= new wxDateTime((wxDateTime
&) result
);
18424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18432 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18436 int arg3
= (int) wxDateTime::Mon
;
18437 int arg4
= (int) wxDateTime::Monday_First
;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 PyObject
* obj2
= 0 ;
18442 PyObject
* obj3
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18450 arg2
= (int) SWIG_AsInt(obj1
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18457 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18476 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18480 int arg3
= (int) wxDateTime::Mon
;
18481 int arg4
= (int) wxDateTime::Monday_First
;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 PyObject
* obj3
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= (int) SWIG_AsInt(obj1
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 wxDateTime
* resultptr
;
18513 resultptr
= new wxDateTime((wxDateTime
&) result
);
18514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18522 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18525 int arg2
= (int) wxDateTime::Inv_Month
;
18526 int arg3
= (int) wxDateTime::Inv_Year
;
18527 wxDateTime
*result
;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 PyObject
* obj2
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "month",(char *) "year", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 arg3
= (int) SWIG_AsInt(obj2
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18550 result
= (wxDateTime
*) &_result_ref
;
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18563 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18566 int arg2
= (int) wxDateTime::Inv_Month
;
18567 int arg3
= (int) wxDateTime::Inv_Year
;
18569 PyObject
* obj0
= 0 ;
18570 PyObject
* obj1
= 0 ;
18571 PyObject
* obj2
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "month",(char *) "year", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18580 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18584 arg3
= (int) SWIG_AsInt(obj2
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18595 wxDateTime
* resultptr
;
18596 resultptr
= new wxDateTime((wxDateTime
&) result
);
18597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18605 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18609 wxDateTime
*result
;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self",(char *) "yday", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 arg2
= (int) SWIG_AsInt(obj1
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18625 result
= (wxDateTime
*) &_result_ref
;
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18638 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "yday", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 arg2
= (int) SWIG_AsInt(obj1
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (arg1
)->GetYearDay(arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 wxDateTime
* resultptr
;
18663 resultptr
= new wxDateTime((wxDateTime
&) result
);
18664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18672 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (double)(arg1
)->GetJulianDayNumber();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_FromDouble((double)result
);
18698 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (double)(arg1
)->GetJDN();
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= SWIG_FromDouble((double)result
);
18724 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18728 PyObject
* obj0
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_FromDouble((double)result
);
18750 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (double)(arg1
)->GetMJD();
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= SWIG_FromDouble((double)result
);
18776 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (double)(arg1
)->GetRataDie();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= SWIG_FromDouble((double)result
);
18802 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18805 wxDateTime::TimeZone
*arg2
= 0 ;
18806 bool arg3
= (bool) False
;
18808 bool temp2
= False
;
18809 PyObject
* obj0
= 0 ;
18810 PyObject
* obj1
= 0 ;
18811 PyObject
* obj2
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18824 arg3
= (bool) SWIG_AsBool(obj2
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 wxDateTime
* resultptr
;
18836 resultptr
= new wxDateTime((wxDateTime
&) result
);
18837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18840 if (temp2
) delete arg2
;
18845 if (temp2
) delete arg2
;
18851 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18854 wxDateTime::TimeZone
*arg2
= 0 ;
18855 bool arg3
= (bool) False
;
18856 wxDateTime
*result
;
18857 bool temp2
= False
;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 PyObject
* obj2
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18869 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18873 arg3
= (bool) SWIG_AsBool(obj2
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18880 result
= (wxDateTime
*) &_result_ref
;
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18888 if (temp2
) delete arg2
;
18893 if (temp2
) delete arg2
;
18899 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18902 bool arg2
= (bool) False
;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "noDST", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 arg2
= (bool) SWIG_AsBool(obj1
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (arg1
)->ToGMT(arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 wxDateTime
* resultptr
;
18926 resultptr
= new wxDateTime((wxDateTime
&) result
);
18927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18935 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18938 bool arg2
= (bool) False
;
18939 wxDateTime
*result
;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self",(char *) "noDST", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18950 arg2
= (bool) SWIG_AsBool(obj1
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18957 result
= (wxDateTime
*) &_result_ref
;
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18970 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18973 int arg2
= (int) wxDateTime::Country_Default
;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self",(char *) "country", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18985 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_FromInt((int)result
);
19002 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "self", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19030 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19056 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19059 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19060 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19062 bool temp2
= False
;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "tz", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19074 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_FromInt((int)result
);
19087 if (temp2
) delete arg2
;
19092 if (temp2
) delete arg2
;
19098 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19101 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19102 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19104 bool temp2
= False
;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "tz", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_FromInt((int)result
);
19129 if (temp2
) delete arg2
;
19134 if (temp2
) delete arg2
;
19140 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19143 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19144 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19146 bool temp2
= False
;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "tz", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_FromInt((int)result
);
19171 if (temp2
) delete arg2
;
19176 if (temp2
) delete arg2
;
19182 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19185 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19186 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19188 bool temp2
= False
;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "tz", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= SWIG_FromInt((int)result
);
19213 if (temp2
) delete arg2
;
19218 if (temp2
) delete arg2
;
19224 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19227 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19228 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19230 bool temp2
= False
;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "tz", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19242 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= SWIG_FromInt((int)result
);
19255 if (temp2
) delete arg2
;
19260 if (temp2
) delete arg2
;
19266 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19269 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19270 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19272 bool temp2
= False
;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "tz", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_FromInt((int)result
);
19297 if (temp2
) delete arg2
;
19302 if (temp2
) delete arg2
;
19308 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19311 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19312 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19314 bool temp2
= False
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "tz", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_FromInt((int)result
);
19339 if (temp2
) delete arg2
;
19344 if (temp2
) delete arg2
;
19350 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19353 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19354 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19356 bool temp2
= False
;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "tz", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= SWIG_FromInt((int)result
);
19381 if (temp2
) delete arg2
;
19386 if (temp2
) delete arg2
;
19392 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19395 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19396 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19398 bool temp2
= False
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "tz", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= SWIG_FromInt((int)result
);
19423 if (temp2
) delete arg2
;
19428 if (temp2
) delete arg2
;
19434 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19437 int arg2
= (int) wxDateTime::Monday_First
;
19438 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19439 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19441 bool temp3
= False
;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 PyObject
* obj2
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self",(char *) "flags",(char *) "tz", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19458 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_FromInt((int)result
);
19471 if (temp3
) delete arg3
;
19476 if (temp3
) delete arg3
;
19482 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19485 int arg2
= (int) wxDateTime::Monday_First
;
19486 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19487 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19489 bool temp3
= False
;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self",(char *) "flags",(char *) "tz", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19506 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_FromInt((int)result
);
19519 if (temp3
) delete arg3
;
19524 if (temp3
) delete arg3
;
19530 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19533 int arg2
= (int) wxDateTime::Country_Default
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "country", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19564 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19567 wxDateTime
*arg2
= 0 ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self",(char *) "datetime", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19581 if (arg2
== NULL
) {
19582 PyErr_SetString(PyExc_TypeError
,"null reference");
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19601 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19604 wxDateTime
*arg2
= 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "datetime", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19618 if (arg2
== NULL
) {
19619 PyErr_SetString(PyExc_TypeError
,"null reference");
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19638 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19641 wxDateTime
*arg2
= 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self",(char *) "datetime", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19655 if (arg2
== NULL
) {
19656 PyErr_SetString(PyExc_TypeError
,"null reference");
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19675 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19678 wxDateTime
*arg2
= 0 ;
19679 wxDateTime
*arg3
= 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "t1",(char *) "t2", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19694 if (arg2
== NULL
) {
19695 PyErr_SetString(PyExc_TypeError
,"null reference");
19698 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19701 if (arg3
== NULL
) {
19702 PyErr_SetString(PyExc_TypeError
,"null reference");
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19721 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19724 wxDateTime
*arg2
= 0 ;
19725 wxDateTime
*arg3
= 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 PyObject
* obj2
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self",(char *) "t1",(char *) "t2", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19740 if (arg2
== NULL
) {
19741 PyErr_SetString(PyExc_TypeError
,"null reference");
19744 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19747 if (arg3
== NULL
) {
19748 PyErr_SetString(PyExc_TypeError
,"null reference");
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19767 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19770 wxDateTime
*arg2
= 0 ;
19772 PyObject
* obj0
= 0 ;
19773 PyObject
* obj1
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self",(char *) "dt", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19784 if (arg2
== NULL
) {
19785 PyErr_SetString(PyExc_TypeError
,"null reference");
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19804 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19807 wxDateTime
*arg2
= 0 ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "dt", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19821 if (arg2
== NULL
) {
19822 PyErr_SetString(PyExc_TypeError
,"null reference");
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19841 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19844 wxDateTime
*arg2
= 0 ;
19845 wxTimeSpan
*arg3
= 0 ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 PyObject
* obj2
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self",(char *) "dt",(char *) "ts", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19860 if (arg2
== NULL
) {
19861 PyErr_SetString(PyExc_TypeError
,"null reference");
19864 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19867 if (arg3
== NULL
) {
19868 PyErr_SetString(PyExc_TypeError
,"null reference");
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19890 wxTimeSpan
*arg2
= 0 ;
19891 wxDateTime
*result
;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self",(char *) "diff", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19904 if (arg2
== NULL
) {
19905 PyErr_SetString(PyExc_TypeError
,"null reference");
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19912 result
= (wxDateTime
*) &_result_ref
;
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19925 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19928 wxDateSpan
*arg2
= 0 ;
19929 wxDateTime
*result
;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "diff", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19942 if (arg2
== NULL
) {
19943 PyErr_SetString(PyExc_TypeError
,"null reference");
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19950 result
= (wxDateTime
*) &_result_ref
;
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19963 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19966 wxTimeSpan
*arg2
= 0 ;
19967 wxDateTime
*result
;
19968 PyObject
* obj0
= 0 ;
19969 PyObject
* obj1
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self",(char *) "diff", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19980 if (arg2
== NULL
) {
19981 PyErr_SetString(PyExc_TypeError
,"null reference");
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19988 result
= (wxDateTime
*) &_result_ref
;
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20001 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20004 wxDateSpan
*arg2
= 0 ;
20005 wxDateTime
*result
;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "diff", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20018 if (arg2
== NULL
) {
20019 PyErr_SetString(PyExc_TypeError
,"null reference");
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20026 result
= (wxDateTime
*) &_result_ref
;
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20039 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20042 wxDateTime
*arg2
= 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "dt", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20056 if (arg2
== NULL
) {
20057 PyErr_SetString(PyExc_TypeError
,"null reference");
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 wxTimeSpan
* resultptr
;
20069 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20078 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20079 PyObject
*resultobj
;
20080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20081 wxTimeSpan
*arg2
= 0 ;
20082 wxDateTime
*result
;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20086 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20092 if (arg2
== NULL
) {
20093 PyErr_SetString(PyExc_TypeError
,"null reference");
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20100 result
= (wxDateTime
*) &_result_ref
;
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20113 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20114 PyObject
*resultobj
;
20115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20116 wxDateSpan
*arg2
= 0 ;
20117 wxDateTime
*result
;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20121 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20127 if (arg2
== NULL
) {
20128 PyErr_SetString(PyExc_TypeError
,"null reference");
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20135 result
= (wxDateTime
*) &_result_ref
;
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20148 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20153 argc
= PyObject_Length(args
);
20154 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20155 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20161 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20171 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20179 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20187 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20197 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20205 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20210 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20215 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20216 PyObject
*resultobj
;
20217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20218 wxTimeSpan
*arg2
= 0 ;
20219 wxDateTime
*result
;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20223 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20229 if (arg2
== NULL
) {
20230 PyErr_SetString(PyExc_TypeError
,"null reference");
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20237 result
= (wxDateTime
*) &_result_ref
;
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20250 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20251 PyObject
*resultobj
;
20252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20253 wxDateSpan
*arg2
= 0 ;
20254 wxDateTime
*result
;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20258 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20264 if (arg2
== NULL
) {
20265 PyErr_SetString(PyExc_TypeError
,"null reference");
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20272 result
= (wxDateTime
*) &_result_ref
;
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20285 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20290 argc
= PyObject_Length(args
);
20291 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20292 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20298 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20308 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20316 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20324 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20334 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20342 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20347 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20352 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20353 PyObject
*resultobj
;
20354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20355 wxTimeSpan
*arg2
= 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20360 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20366 if (arg2
== NULL
) {
20367 PyErr_SetString(PyExc_TypeError
,"null reference");
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20378 wxDateTime
* resultptr
;
20379 resultptr
= new wxDateTime((wxDateTime
&) result
);
20380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20388 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20389 PyObject
*resultobj
;
20390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20391 wxDateSpan
*arg2
= 0 ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20396 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20402 if (arg2
== NULL
) {
20403 PyErr_SetString(PyExc_TypeError
,"null reference");
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 wxDateTime
* resultptr
;
20415 resultptr
= new wxDateTime((wxDateTime
&) result
);
20416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20424 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20429 argc
= PyObject_Length(args
);
20430 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20431 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20437 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20447 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20455 return _wrap_DateTime___add____SWIG_0(self
,args
);
20463 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20473 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20481 return _wrap_DateTime___add____SWIG_1(self
,args
);
20486 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20491 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20492 PyObject
*resultobj
;
20493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20494 wxDateTime
*arg2
= 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20499 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20505 if (arg2
== NULL
) {
20506 PyErr_SetString(PyExc_TypeError
,"null reference");
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20517 wxTimeSpan
* resultptr
;
20518 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20527 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20528 PyObject
*resultobj
;
20529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20530 wxTimeSpan
*arg2
= 0 ;
20532 PyObject
* obj0
= 0 ;
20533 PyObject
* obj1
= 0 ;
20535 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20541 if (arg2
== NULL
) {
20542 PyErr_SetString(PyExc_TypeError
,"null reference");
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 wxDateTime
* resultptr
;
20554 resultptr
= new wxDateTime((wxDateTime
&) result
);
20555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20563 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20564 PyObject
*resultobj
;
20565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20566 wxDateSpan
*arg2
= 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20571 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20577 if (arg2
== NULL
) {
20578 PyErr_SetString(PyExc_TypeError
,"null reference");
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 wxDateTime
* resultptr
;
20590 resultptr
= new wxDateTime((wxDateTime
&) result
);
20591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20599 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20604 argc
= PyObject_Length(args
);
20605 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20606 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20622 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20630 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20638 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20648 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20656 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20664 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20674 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20682 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20687 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20692 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20693 PyObject
*resultobj
;
20694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20695 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20700 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20721 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20722 PyObject
*resultobj
;
20723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20724 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20729 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20750 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20751 PyObject
*resultobj
;
20752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20753 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20758 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20779 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20780 PyObject
*resultobj
;
20781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20782 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20787 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20808 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20809 PyObject
*resultobj
;
20810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20811 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20816 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20837 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20838 PyObject
*resultobj
;
20839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20840 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20845 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20866 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20869 wxString
*arg2
= 0 ;
20871 bool temp2
= False
;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self",(char *) "date", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 arg2
= wxString_in_helper(obj1
);
20883 if (arg2
== NULL
) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_FromInt((int)result
);
20908 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20911 wxString
*arg2
= 0 ;
20912 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20914 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20915 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20917 bool temp2
= False
;
20918 bool temp3
= False
;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 PyObject
* obj3
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 arg2
= wxString_in_helper(obj1
);
20932 if (arg2
== NULL
) SWIG_fail
;
20937 arg3
= wxString_in_helper(obj2
);
20938 if (arg3
== NULL
) SWIG_fail
;
20943 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20946 if (arg4
== NULL
) {
20947 PyErr_SetString(PyExc_TypeError
,"null reference");
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_FromInt((int)result
);
20981 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20984 wxString
*arg2
= 0 ;
20986 bool temp2
= False
;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "datetime", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20997 arg2
= wxString_in_helper(obj1
);
20998 if (arg2
== NULL
) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_FromInt((int)result
);
21023 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21026 wxString
*arg2
= 0 ;
21028 bool temp2
= False
;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self",(char *) "date", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 arg2
= wxString_in_helper(obj1
);
21040 if (arg2
== NULL
) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_FromInt((int)result
);
21065 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21068 wxString
*arg2
= 0 ;
21070 bool temp2
= False
;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self",(char *) "time", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 arg2
= wxString_in_helper(obj1
);
21082 if (arg2
== NULL
) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= SWIG_FromInt((int)result
);
21107 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21110 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21111 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21112 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21113 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21115 bool temp2
= False
;
21116 bool temp3
= False
;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self",(char *) "format",(char *) "tz", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 arg2
= wxString_in_helper(obj1
);
21130 if (arg2
== NULL
) SWIG_fail
;
21136 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21159 if (temp3
) delete arg3
;
21168 if (temp3
) delete arg3
;
21174 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21206 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21238 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21270 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21274 PyObject
* obj0
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "self", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21302 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21305 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21307 return Py_BuildValue((char *)"");
21309 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "sec", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21319 arg1
= (long) SWIG_AsLong(obj0
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= wxTimeSpan::Seconds(arg1
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 wxTimeSpan
* resultptr
;
21330 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21339 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21342 char *kwnames
[] = {
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= wxTimeSpan::Second();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 wxTimeSpan
* resultptr
;
21356 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21365 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "min", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21375 arg1
= (long) SWIG_AsLong(obj0
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= wxTimeSpan::Minutes(arg1
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 wxTimeSpan
* resultptr
;
21386 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21395 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21398 char *kwnames
[] = {
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= wxTimeSpan::Minute();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21411 wxTimeSpan
* resultptr
;
21412 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21421 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21425 PyObject
* obj0
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "hours", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21431 arg1
= (long) SWIG_AsLong(obj0
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= wxTimeSpan::Hours(arg1
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21441 wxTimeSpan
* resultptr
;
21442 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21451 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21454 char *kwnames
[] = {
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= wxTimeSpan::Hour();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 wxTimeSpan
* resultptr
;
21468 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21477 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21481 PyObject
* obj0
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "days", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21487 arg1
= (long) SWIG_AsLong(obj0
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= wxTimeSpan::Days(arg1
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 wxTimeSpan
* resultptr
;
21498 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21507 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21510 char *kwnames
[] = {
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= wxTimeSpan::Day();
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 wxTimeSpan
* resultptr
;
21524 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21533 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "days", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21543 arg1
= (long) SWIG_AsLong(obj0
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= wxTimeSpan::Weeks(arg1
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 wxTimeSpan
* resultptr
;
21554 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21563 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21566 char *kwnames
[] = {
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= wxTimeSpan::Week();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 wxTimeSpan
* resultptr
;
21580 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21589 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 long arg1
= (long) 0 ;
21592 long arg2
= (long) 0 ;
21593 long arg3
= (long) 0 ;
21594 long arg4
= (long) 0 ;
21595 wxTimeSpan
*result
;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 PyObject
* obj2
= 0 ;
21599 PyObject
* obj3
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21606 arg1
= (long) SWIG_AsLong(obj0
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 arg2
= (long) SWIG_AsLong(obj1
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 arg3
= (long) SWIG_AsLong(obj2
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 arg4
= (long) SWIG_AsLong(obj3
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21635 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21638 PyObject
* obj0
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 Py_INCREF(Py_None
); resultobj
= Py_None
;
21660 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21663 wxTimeSpan
*arg2
= 0 ;
21664 wxTimeSpan
*result
;
21665 PyObject
* obj0
= 0 ;
21666 PyObject
* obj1
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self",(char *) "diff", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21677 if (arg2
== NULL
) {
21678 PyErr_SetString(PyExc_TypeError
,"null reference");
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21685 result
= (wxTimeSpan
*) &_result_ref
;
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21698 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21701 wxTimeSpan
*arg2
= 0 ;
21702 wxTimeSpan
*result
;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "diff", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21715 if (arg2
== NULL
) {
21716 PyErr_SetString(PyExc_TypeError
,"null reference");
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21723 result
= (wxTimeSpan
*) &_result_ref
;
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21736 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21740 wxTimeSpan
*result
;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self",(char *) "n", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21750 arg2
= (int) SWIG_AsInt(obj1
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21756 result
= (wxTimeSpan
*) &_result_ref
;
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21769 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21772 wxTimeSpan
*result
;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21785 result
= (wxTimeSpan
*) &_result_ref
;
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21798 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
;
21800 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21802 PyObject
* obj0
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 wxTimeSpan
* resultptr
;
21819 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21828 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21831 wxTimeSpan
*arg2
= 0 ;
21832 wxTimeSpan
*result
;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "diff", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21845 if (arg2
== NULL
) {
21846 PyErr_SetString(PyExc_TypeError
,"null reference");
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21853 result
= (wxTimeSpan
*) &_result_ref
;
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21866 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21869 wxTimeSpan
*arg2
= 0 ;
21870 wxTimeSpan
*result
;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "diff", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21883 if (arg2
== NULL
) {
21884 PyErr_SetString(PyExc_TypeError
,"null reference");
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21891 result
= (wxTimeSpan
*) &_result_ref
;
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21904 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21908 wxTimeSpan
*result
;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self",(char *) "n", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 arg2
= (int) SWIG_AsInt(obj1
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21924 result
= (wxTimeSpan
*) &_result_ref
;
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21937 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21940 wxTimeSpan
*result
;
21941 PyObject
* obj0
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21953 result
= (wxTimeSpan
*) &_result_ref
;
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21966 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21969 wxTimeSpan
*arg2
= 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "other", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21983 if (arg2
== NULL
) {
21984 PyErr_SetString(PyExc_TypeError
,"null reference");
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 wxTimeSpan
* resultptr
;
21996 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22005 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22008 wxTimeSpan
*arg2
= 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self",(char *) "other", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22022 if (arg2
== NULL
) {
22023 PyErr_SetString(PyExc_TypeError
,"null reference");
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 wxTimeSpan
* resultptr
;
22035 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22044 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "n", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= (int) SWIG_AsInt(obj1
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= wxTimeSpan___mul__(arg1
,arg2
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 wxTimeSpan
* resultptr
;
22069 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22078 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "n", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 arg2
= (int) SWIG_AsInt(obj1
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 wxTimeSpan
* resultptr
;
22103 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22112 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22115 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "other", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22147 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "other", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22179 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "other", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22208 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22211 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "other", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22240 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22243 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "other", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22275 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "other", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22304 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22332 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22360 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22388 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22391 wxTimeSpan
*arg2
= 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "ts", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22405 if (arg2
== NULL
) {
22406 PyErr_SetString(PyExc_TypeError
,"null reference");
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22425 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22428 wxTimeSpan
*arg2
= 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "ts", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22442 if (arg2
== NULL
) {
22443 PyErr_SetString(PyExc_TypeError
,"null reference");
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22462 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22465 wxTimeSpan
*arg2
= 0 ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "t", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22479 if (arg2
== NULL
) {
22480 PyErr_SetString(PyExc_TypeError
,"null reference");
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22499 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_FromInt((int)result
);
22525 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_FromInt((int)result
);
22551 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_FromInt((int)result
);
22577 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_FromInt((int)result
);
22603 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22623 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22624 hi
= PyLong_FromLong( (&result
)->GetHi() );
22625 lo
= PyLong_FromLong( (&result
)->GetLo() );
22626 shifter
= PyLong_FromLong(32);
22627 shifted
= PyNumber_Lshift(hi
, shifter
);
22628 resultobj
= PyNumber_Or(shifted
, lo
);
22631 Py_DECREF(shifter
);
22632 Py_DECREF(shifted
);
22640 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22661 hi
= PyLong_FromLong( (&result
)->GetHi() );
22662 lo
= PyLong_FromLong( (&result
)->GetLo() );
22663 shifter
= PyLong_FromLong(32);
22664 shifted
= PyNumber_Lshift(hi
, shifter
);
22665 resultobj
= PyNumber_Or(shifted
, lo
);
22668 Py_DECREF(shifter
);
22669 Py_DECREF(shifted
);
22677 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22680 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22681 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22683 bool temp2
= False
;
22684 PyObject
* obj0
= 0 ;
22685 PyObject
* obj1
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self",(char *) "format", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 arg2
= wxString_in_helper(obj1
);
22696 if (arg2
== NULL
) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22728 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22731 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22733 return Py_BuildValue((char *)"");
22735 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 int arg1
= (int) 0 ;
22738 int arg2
= (int) 0 ;
22739 int arg3
= (int) 0 ;
22740 int arg4
= (int) 0 ;
22741 wxDateSpan
*result
;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 PyObject
* obj2
= 0 ;
22745 PyObject
* obj3
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22752 arg1
= (int) SWIG_AsInt(obj0
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22756 arg2
= (int) SWIG_AsInt(obj1
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 arg3
= (int) SWIG_AsInt(obj2
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 arg4
= (int) SWIG_AsInt(obj3
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22781 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "days", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22816 arg1
= (int) SWIG_AsInt(obj0
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= wxDateSpan::Days(arg1
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 wxDateSpan
* resultptr
;
22827 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22836 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22839 char *kwnames
[] = {
22843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= wxDateSpan::Day();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 wxDateSpan
* resultptr
;
22853 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22862 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "weeks", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22872 arg1
= (int) SWIG_AsInt(obj0
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= wxDateSpan::Weeks(arg1
);
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 wxDateSpan
* resultptr
;
22883 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22892 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22895 char *kwnames
[] = {
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= wxDateSpan::Week();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 wxDateSpan
* resultptr
;
22909 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22918 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22922 PyObject
* obj0
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "mon", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22928 arg1
= (int) SWIG_AsInt(obj0
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= wxDateSpan::Months(arg1
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22938 wxDateSpan
* resultptr
;
22939 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22948 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22951 char *kwnames
[] = {
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= wxDateSpan::Month();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22964 wxDateSpan
* resultptr
;
22965 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22974 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "years", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22984 arg1
= (int) SWIG_AsInt(obj0
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= wxDateSpan::Years(arg1
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22994 wxDateSpan
* resultptr
;
22995 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23004 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23007 char *kwnames
[] = {
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= wxDateSpan::Year();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23020 wxDateSpan
* resultptr
;
23021 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23030 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23034 wxDateSpan
*result
;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "n", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 arg2
= (int) SWIG_AsInt(obj1
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23050 result
= (wxDateSpan
*) &_result_ref
;
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23063 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23067 wxDateSpan
*result
;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self",(char *) "n", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 arg2
= (int) SWIG_AsInt(obj1
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23083 result
= (wxDateSpan
*) &_result_ref
;
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23096 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23100 wxDateSpan
*result
;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "n", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 arg2
= (int) SWIG_AsInt(obj1
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23116 result
= (wxDateSpan
*) &_result_ref
;
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23129 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23133 wxDateSpan
*result
;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "n", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 arg2
= (int) SWIG_AsInt(obj1
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23149 result
= (wxDateSpan
*) &_result_ref
;
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23162 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_FromInt((int)result
);
23188 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_FromInt((int)result
);
23214 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_FromInt((int)result
);
23240 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_FromInt((int)result
);
23266 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= SWIG_FromInt((int)result
);
23292 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23295 wxDateSpan
*arg2
= 0 ;
23296 wxDateSpan
*result
;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 char *kwnames
[] = {
23300 (char *) "self",(char *) "other", NULL
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23309 if (arg2
== NULL
) {
23310 PyErr_SetString(PyExc_TypeError
,"null reference");
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23317 result
= (wxDateSpan
*) &_result_ref
;
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23330 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23333 wxDateSpan
*arg2
= 0 ;
23334 wxDateSpan
*result
;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "other", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23347 if (arg2
== NULL
) {
23348 PyErr_SetString(PyExc_TypeError
,"null reference");
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23355 result
= (wxDateSpan
*) &_result_ref
;
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23368 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23371 wxDateSpan
*result
;
23372 PyObject
* obj0
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23384 result
= (wxDateSpan
*) &_result_ref
;
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23397 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23401 wxDateSpan
*result
;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "factor", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 arg2
= (int) SWIG_AsInt(obj1
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23417 result
= (wxDateSpan
*) &_result_ref
;
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23430 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23433 wxDateSpan
*arg2
= 0 ;
23434 wxDateSpan
*result
;
23435 PyObject
* obj0
= 0 ;
23436 PyObject
* obj1
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self",(char *) "other", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23447 if (arg2
== NULL
) {
23448 PyErr_SetString(PyExc_TypeError
,"null reference");
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23455 result
= (wxDateSpan
*) &_result_ref
;
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23468 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23471 wxDateSpan
*arg2
= 0 ;
23472 wxDateSpan
*result
;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "other", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23485 if (arg2
== NULL
) {
23486 PyErr_SetString(PyExc_TypeError
,"null reference");
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23493 result
= (wxDateSpan
*) &_result_ref
;
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23506 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23509 wxDateSpan
*result
;
23510 PyObject
* obj0
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23522 result
= (wxDateSpan
*) &_result_ref
;
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23535 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23539 wxDateSpan
*result
;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "factor", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 arg2
= (int) SWIG_AsInt(obj1
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23555 result
= (wxDateSpan
*) &_result_ref
;
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23568 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23571 wxDateSpan
*arg2
= 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self",(char *) "other", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23585 if (arg2
== NULL
) {
23586 PyErr_SetString(PyExc_TypeError
,"null reference");
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23597 wxDateSpan
* resultptr
;
23598 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23607 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23610 wxDateSpan
*arg2
= 0 ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self",(char *) "other", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23624 if (arg2
== NULL
) {
23625 PyErr_SetString(PyExc_TypeError
,"null reference");
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 wxDateSpan
* resultptr
;
23637 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23646 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23648 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "n", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 arg2
= (int) SWIG_AsInt(obj1
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= wxDateSpan___mul__(arg1
,arg2
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 wxDateSpan
* resultptr
;
23671 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23680 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "n", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 arg2
= (int) SWIG_AsInt(obj1
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= wxDateSpan___rmul__(arg1
,arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23704 wxDateSpan
* resultptr
;
23705 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23714 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23717 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "other", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23746 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23749 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self",(char *) "other", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23778 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23781 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23783 return Py_BuildValue((char *)"");
23785 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23788 char *kwnames
[] = {
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (long)wxGetLocalTime();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= SWIG_FromLong((long)result
);
23807 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23810 char *kwnames
[] = {
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (long)wxGetUTCTime();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_FromLong((long)result
);
23829 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23832 char *kwnames
[] = {
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (long)wxGetCurrentTime();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_FromLong((long)result
);
23851 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23854 char *kwnames
[] = {
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= wxGetLocalTimeMillis();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23868 hi
= PyLong_FromLong( (&result
)->GetHi() );
23869 lo
= PyLong_FromLong( (&result
)->GetLo() );
23870 shifter
= PyLong_FromLong(32);
23871 shifted
= PyNumber_Lshift(hi
, shifter
);
23872 resultobj
= PyNumber_Or(shifted
, lo
);
23875 Py_DECREF(shifter
);
23876 Py_DECREF(shifted
);
23884 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23885 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23890 static PyObject
*_wrap_DefaultDateTime_get() {
23893 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23898 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23901 wxDataFormat
*result
;
23902 PyObject
* obj0
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "type", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23908 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23924 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxString
*arg1
= 0 ;
23927 wxDataFormat
*result
;
23928 bool temp1
= False
;
23929 PyObject
* obj0
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "format", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23936 arg1
= wxString_in_helper(obj0
);
23937 if (arg1
== NULL
) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23962 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 Py_INCREF(Py_None
); resultobj
= Py_None
;
23987 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23988 PyObject
*resultobj
;
23989 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23995 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24016 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24017 PyObject
*resultobj
;
24018 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24024 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24046 PyObject
*resultobj
;
24047 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24048 wxDataFormat
*arg2
= 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24053 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24059 if (arg2
== NULL
) {
24060 PyErr_SetString(PyExc_TypeError
,"null reference");
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24079 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24084 argc
= PyObject_Length(args
);
24085 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24086 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24092 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24102 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24110 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24126 _v
= SWIG_CheckInt(argv
[1]);
24128 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24133 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24138 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24139 PyObject
*resultobj
;
24140 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24141 wxDataFormat
*arg2
= 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24146 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24152 if (arg2
== NULL
) {
24153 PyErr_SetString(PyExc_TypeError
,"null reference");
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24172 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24177 argc
= PyObject_Length(args
);
24178 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24179 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24195 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24203 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24219 _v
= SWIG_CheckInt(argv
[1]);
24221 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24226 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24231 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24235 PyObject
* obj0
= 0 ;
24236 PyObject
* obj1
= 0 ;
24237 char *kwnames
[] = {
24238 (char *) "self",(char *) "format", NULL
24241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24244 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 (arg1
)->SetType((wxDataFormatId
)arg2
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 Py_INCREF(Py_None
); resultobj
= Py_None
;
24260 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
;
24262 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_FromInt((int)result
);
24286 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= ((wxDataFormat
const *)arg1
)->GetId();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24318 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24321 wxString
*arg2
= 0 ;
24322 bool temp2
= False
;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self",(char *) "format", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 arg2
= wxString_in_helper(obj1
);
24334 if (arg2
== NULL
) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->SetId((wxString
const &)*arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 Py_INCREF(Py_None
); resultobj
= Py_None
;
24359 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24362 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24364 return Py_BuildValue((char *)"");
24366 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24367 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24372 static PyObject
*_wrap_FormatInvalid_get() {
24375 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24380 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24408 int arg2
= (int) wxDataObject::Get
;
24409 SwigValueWrapper
< wxDataFormat
> result
;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "dir", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 wxDataFormat
* resultptr
;
24432 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24441 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24444 int arg2
= (int) wxDataObject::Get
;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "dir", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24473 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24476 wxDataFormat
*arg2
= 0 ;
24477 int arg3
= (int) wxDataObject::Get
;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 PyObject
* obj2
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "format",(char *) "dir", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24492 if (arg2
== NULL
) {
24493 PyErr_SetString(PyExc_TypeError
,"null reference");
24497 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24516 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24519 wxDataFormat
*arg2
= 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "format", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24533 if (arg2
== NULL
) {
24534 PyErr_SetString(PyExc_TypeError
,"null reference");
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24551 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24554 int arg2
= (int) wxDataObject::Get
;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self",(char *) "dir", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24566 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= result
;
24583 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24586 wxDataFormat
*arg2
= 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "format", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24600 if (arg2
== NULL
) {
24601 PyErr_SetString(PyExc_TypeError
,"null reference");
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= result
;
24618 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24621 wxDataFormat
*arg2
= 0 ;
24622 PyObject
*arg3
= (PyObject
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 PyObject
* obj2
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "format",(char *) "data", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24637 if (arg2
== NULL
) {
24638 PyErr_SetString(PyExc_TypeError
,"null reference");
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24658 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24661 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24663 return Py_BuildValue((char *)"");
24665 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24668 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24669 wxDataObjectSimple
*result
;
24670 PyObject
* obj0
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "format", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24680 if (arg1
== NULL
) {
24681 PyErr_SetString(PyExc_TypeError
,"null reference");
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24699 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24702 wxDataFormat
*result
;
24703 PyObject
* obj0
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24715 result
= (wxDataFormat
*) &_result_ref
;
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24728 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24731 wxDataFormat
*arg2
= 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self",(char *) "format", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24744 if (arg2
== NULL
) {
24745 PyErr_SetString(PyExc_TypeError
,"null reference");
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 Py_INCREF(Py_None
); resultobj
= Py_None
;
24762 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24788 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24792 PyObject
* obj0
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= result
;
24814 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24817 PyObject
*arg2
= (PyObject
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self",(char *) "data", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24845 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24848 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24850 return Py_BuildValue((char *)"");
24852 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24855 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24856 wxPyDataObjectSimple
*result
;
24857 PyObject
* obj0
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "format", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24867 if (arg1
== NULL
) {
24868 PyErr_SetString(PyExc_TypeError
,"null reference");
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24886 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24889 PyObject
*arg2
= (PyObject
*) 0 ;
24890 PyObject
*arg3
= (PyObject
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 PyObject
* obj2
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "self",(char *) "_class", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 Py_INCREF(Py_None
); resultobj
= Py_None
;
24917 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24920 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24922 return Py_BuildValue((char *)"");
24924 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxDataObjectComposite
*result
;
24927 char *kwnames
[] = {
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24946 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24949 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24950 bool arg3
= (bool) False
;
24951 PyObject
* obj0
= 0 ;
24952 PyObject
* obj1
= 0 ;
24953 PyObject
* obj2
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24962 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24964 arg3
= (bool) SWIG_AsBool(obj2
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 (arg1
)->Add(arg2
,arg3
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 Py_INCREF(Py_None
); resultobj
= Py_None
;
24981 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24984 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24986 return Py_BuildValue((char *)"");
24988 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24991 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24992 wxTextDataObject
*result
;
24993 bool temp1
= False
;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "text", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25002 arg1
= wxString_in_helper(obj0
);
25003 if (arg1
== NULL
) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25029 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (size_t)(arg1
)->GetTextLength();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25055 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (arg1
)->GetText();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25087 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25090 wxString
*arg2
= 0 ;
25091 bool temp2
= False
;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self",(char *) "text", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 arg2
= wxString_in_helper(obj1
);
25103 if (arg2
== NULL
) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->SetText((wxString
const &)*arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25131 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25133 return Py_BuildValue((char *)"");
25135 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25138 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25139 wxPyTextDataObject
*result
;
25140 bool temp1
= False
;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "text", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25149 arg1
= wxString_in_helper(obj0
);
25150 if (arg1
== NULL
) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25176 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25179 PyObject
*arg2
= (PyObject
*) 0 ;
25180 PyObject
*arg3
= (PyObject
*) 0 ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 PyObject
* obj2
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "self",(char *) "_class", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 Py_INCREF(Py_None
); resultobj
= Py_None
;
25207 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25210 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25212 return Py_BuildValue((char *)"");
25214 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25217 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25218 wxBitmapDataObject
*result
;
25219 PyObject
* obj0
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "bitmap", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25229 if (arg1
== NULL
) {
25230 PyErr_SetString(PyExc_TypeError
,"null reference");
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25248 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25268 wxBitmap
* resultptr
;
25269 resultptr
= new wxBitmap((wxBitmap
&) result
);
25270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25278 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25281 wxBitmap
*arg2
= 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "bitmap", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25294 if (arg2
== NULL
) {
25295 PyErr_SetString(PyExc_TypeError
,"null reference");
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25312 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25315 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25317 return Py_BuildValue((char *)"");
25319 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25322 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25323 wxPyBitmapDataObject
*result
;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "bitmap", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25334 if (arg1
== NULL
) {
25335 PyErr_SetString(PyExc_TypeError
,"null reference");
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25353 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25356 PyObject
*arg2
= (PyObject
*) 0 ;
25357 PyObject
*arg3
= (PyObject
*) 0 ;
25358 PyObject
* obj0
= 0 ;
25359 PyObject
* obj1
= 0 ;
25360 PyObject
* obj2
= 0 ;
25361 char *kwnames
[] = {
25362 (char *) "self",(char *) "self",(char *) "_class", NULL
25365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 Py_INCREF(Py_None
); resultobj
= Py_None
;
25384 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25387 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25389 return Py_BuildValue((char *)"");
25391 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
;
25393 wxFileDataObject
*result
;
25394 char *kwnames
[] = {
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (wxFileDataObject
*)new wxFileDataObject();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25413 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25416 wxArrayString
*result
;
25417 PyObject
* obj0
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25429 result
= (wxArrayString
*) &_result_ref
;
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= wxArrayString2PyList_helper(*result
);
25444 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25447 wxString
*arg2
= 0 ;
25448 bool temp2
= False
;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self",(char *) "filename", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25459 arg2
= wxString_in_helper(obj1
);
25460 if (arg2
== NULL
) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 (arg1
)->AddFile((wxString
const &)*arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 Py_INCREF(Py_None
); resultobj
= Py_None
;
25485 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25488 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25490 return Py_BuildValue((char *)"");
25492 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25495 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25496 wxCustomDataObject
*result
;
25497 PyObject
* obj0
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "format", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25507 if (arg1
== NULL
) {
25508 PyErr_SetString(PyExc_TypeError
,"null reference");
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25526 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
;
25528 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25529 PyObject
*arg2
= (PyObject
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self",(char *) "data", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25557 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (size_t)(arg1
)->GetSize();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25583 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= result
;
25609 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25612 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25614 return Py_BuildValue((char *)"");
25616 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxURLDataObject
*result
;
25619 char *kwnames
[] = {
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (wxURLDataObject
*)new wxURLDataObject();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25638 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (arg1
)->GetURL();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25670 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25673 wxString
*arg2
= 0 ;
25674 bool temp2
= False
;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self",(char *) "url", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 arg2
= wxString_in_helper(obj1
);
25686 if (arg2
== NULL
) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 (arg1
)->SetURL((wxString
const &)*arg2
);
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 Py_INCREF(Py_None
); resultobj
= Py_None
;
25711 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25714 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25716 return Py_BuildValue((char *)"");
25718 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxMetafileDataObject
*result
;
25721 char *kwnames
[] = {
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25740 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25743 wxMetafile
*arg2
= 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "metafile", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25756 if (arg2
== NULL
) {
25757 PyErr_SetString(PyExc_TypeError
,"null reference");
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 Py_INCREF(Py_None
); resultobj
= Py_None
;
25774 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxMetafile
* resultptr
;
25795 resultptr
= new wxMetafile((wxMetafile
&) result
);
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25804 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25807 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25809 return Py_BuildValue((char *)"");
25811 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25812 PyObject
*resultobj
;
25815 PyObject
* obj0
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "res", NULL
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25821 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25839 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxWindow
*arg1
= (wxWindow
*) 0 ;
25842 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25843 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25844 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25845 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25846 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25847 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25848 wxPyDropSource
*result
;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 PyObject
* obj2
= 0 ;
25852 PyObject
* obj3
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25864 if (arg2
== NULL
) {
25865 PyErr_SetString(PyExc_TypeError
,"null reference");
25870 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25873 if (arg3
== NULL
) {
25874 PyErr_SetString(PyExc_TypeError
,"null reference");
25879 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25882 if (arg4
== NULL
) {
25883 PyErr_SetString(PyExc_TypeError
,"null reference");
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25901 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25904 PyObject
*arg2
= (PyObject
*) 0 ;
25905 PyObject
*arg3
= (PyObject
*) 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25910 PyObject
* obj3
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25920 arg4
= (int) SWIG_AsInt(obj3
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25964 wxDataObject
*arg2
= 0 ;
25965 PyObject
* obj0
= 0 ;
25966 PyObject
* obj1
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self",(char *) "data", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25977 if (arg2
== NULL
) {
25978 PyErr_SetString(PyExc_TypeError
,"null reference");
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->SetData(*arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25998 wxDataObject
*result
;
25999 PyObject
* obj0
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26021 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26025 wxCursor
*arg3
= 0 ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 PyObject
* obj2
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self",(char *) "res",(char *) "cursor", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26036 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26038 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26041 if (arg3
== NULL
) {
26042 PyErr_SetString(PyExc_TypeError
,"null reference");
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26062 int arg2
= (int) wxDrag_CopyOnly
;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "flags", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26074 arg2
= (int) SWIG_AsInt(obj1
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (int)(arg1
)->DoDragDrop(arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_FromInt((int)result
);
26091 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "effect", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26105 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26123 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26126 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26128 return Py_BuildValue((char *)"");
26130 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26133 wxPyDropTarget
*result
;
26134 PyObject
* obj0
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "dataObject", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26142 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26158 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26161 PyObject
*arg2
= (PyObject
*) 0 ;
26162 PyObject
*arg3
= (PyObject
*) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 PyObject
* obj1
= 0 ;
26165 PyObject
* obj2
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "self",(char *) "_class", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 Py_INCREF(Py_None
); resultobj
= Py_None
;
26189 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 Py_INCREF(Py_None
); resultobj
= Py_None
;
26214 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26217 wxDataObject
*result
;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26240 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26243 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26244 PyObject
* obj0
= 0 ;
26245 PyObject
* obj1
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self",(char *) "dataObject", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26254 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->SetDataObject(arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 Py_INCREF(Py_None
); resultobj
= Py_None
;
26269 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 PyObject
* obj2
= 0 ;
26279 PyObject
* obj3
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26287 arg2
= (int) SWIG_AsInt(obj1
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26289 arg3
= (int) SWIG_AsInt(obj2
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26291 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_FromInt((int)result
);
26307 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 PyObject
* obj2
= 0 ;
26317 PyObject
* obj3
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26325 arg2
= (int) SWIG_AsInt(obj1
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26327 arg3
= (int) SWIG_AsInt(obj2
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26329 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_FromInt((int)result
);
26345 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->base_OnLeave();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26376 PyObject
* obj0
= 0 ;
26377 PyObject
* obj1
= 0 ;
26378 PyObject
* obj2
= 0 ;
26379 char *kwnames
[] = {
26380 (char *) "self",(char *) "x",(char *) "y", NULL
26383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26386 arg2
= (int) SWIG_AsInt(obj1
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26388 arg3
= (int) SWIG_AsInt(obj2
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26406 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
;
26408 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26410 PyObject
* obj0
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (bool)(arg1
)->GetData();
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26434 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26437 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26439 return Py_BuildValue((char *)"");
26441 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyTextDropTarget
*result
;
26444 char *kwnames
[] = {
26448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26463 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26466 PyObject
*arg2
= (PyObject
*) 0 ;
26467 PyObject
*arg3
= (PyObject
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 PyObject
* obj2
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "self",(char *) "_class", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 Py_INCREF(Py_None
); resultobj
= Py_None
;
26494 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26501 PyObject
* obj0
= 0 ;
26502 PyObject
* obj1
= 0 ;
26503 PyObject
* obj2
= 0 ;
26504 PyObject
* obj3
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26512 arg2
= (int) SWIG_AsInt(obj1
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26514 arg3
= (int) SWIG_AsInt(obj2
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26516 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_FromInt((int)result
);
26532 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 PyObject
* obj2
= 0 ;
26542 PyObject
* obj3
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 arg2
= (int) SWIG_AsInt(obj1
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26552 arg3
= (int) SWIG_AsInt(obj2
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26554 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_FromInt((int)result
);
26570 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26573 PyObject
* obj0
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 (arg1
)->base_OnLeave();
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 Py_INCREF(Py_None
); resultobj
= Py_None
;
26595 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 PyObject
* obj2
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "x",(char *) "y", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 arg2
= (int) SWIG_AsInt(obj1
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26613 arg3
= (int) SWIG_AsInt(obj2
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26631 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26638 PyObject
* obj0
= 0 ;
26639 PyObject
* obj1
= 0 ;
26640 PyObject
* obj2
= 0 ;
26641 PyObject
* obj3
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26649 arg2
= (int) SWIG_AsInt(obj1
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26651 arg3
= (int) SWIG_AsInt(obj2
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26653 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_FromInt((int)result
);
26669 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26672 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26674 return Py_BuildValue((char *)"");
26676 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26677 PyObject
*resultobj
;
26678 wxPyFileDropTarget
*result
;
26679 char *kwnames
[] = {
26683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26698 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26701 PyObject
*arg2
= (PyObject
*) 0 ;
26702 PyObject
*arg3
= (PyObject
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 PyObject
* obj2
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self",(char *) "self",(char *) "_class", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26722 Py_INCREF(Py_None
); resultobj
= Py_None
;
26729 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
;
26731 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 PyObject
* obj2
= 0 ;
26739 PyObject
* obj3
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26747 arg2
= (int) SWIG_AsInt(obj1
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26749 arg3
= (int) SWIG_AsInt(obj2
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26751 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= SWIG_FromInt((int)result
);
26767 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 PyObject
* obj2
= 0 ;
26777 PyObject
* obj3
= 0 ;
26778 char *kwnames
[] = {
26779 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26785 arg2
= (int) SWIG_AsInt(obj1
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26787 arg3
= (int) SWIG_AsInt(obj2
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26789 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26798 resultobj
= SWIG_FromInt((int)result
);
26805 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
;
26807 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 (arg1
)->base_OnLeave();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 Py_INCREF(Py_None
); resultobj
= Py_None
;
26830 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self",(char *) "x",(char *) "y", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 arg2
= (int) SWIG_AsInt(obj1
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26848 arg3
= (int) SWIG_AsInt(obj2
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26866 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 PyObject
* obj2
= 0 ;
26876 PyObject
* obj3
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26884 arg2
= (int) SWIG_AsInt(obj1
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26886 arg3
= (int) SWIG_AsInt(obj2
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26888 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_FromInt((int)result
);
26904 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26907 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26909 return Py_BuildValue((char *)"");
26911 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxClipboard
*result
;
26914 char *kwnames
[] = {
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (wxClipboard
*)new wxClipboard();
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26933 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 char *kwnames
[] = {
26938 (char *) "self", NULL
26941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 Py_INCREF(Py_None
); resultobj
= Py_None
;
26958 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26962 PyObject
* obj0
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (bool)(arg1
)->Open();
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26986 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 char *kwnames
[] = {
26991 (char *) "self", NULL
26994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 Py_INCREF(Py_None
); resultobj
= Py_None
;
27011 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27039 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27042 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self",(char *) "data", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27054 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 result
= (bool)(arg1
)->AddData(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27071 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27074 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "data", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27086 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (bool)(arg1
)->SetData(arg2
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27103 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27106 wxDataFormat
*arg2
= 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "format", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27120 if (arg2
== NULL
) {
27121 PyErr_SetString(PyExc_TypeError
,"null reference");
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27140 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27143 wxDataObject
*arg2
= 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "data", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27157 if (arg2
== NULL
) {
27158 PyErr_SetString(PyExc_TypeError
,"null reference");
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (bool)(arg1
)->GetData(*arg2
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27177 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 Py_INCREF(Py_None
); resultobj
= Py_None
;
27202 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "self", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (bool)(arg1
)->Flush();
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27230 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27233 bool arg2
= (bool) True
;
27234 PyObject
* obj0
= 0 ;
27235 PyObject
* obj1
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self",(char *) "primary", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 arg2
= (bool) SWIG_AsBool(obj1
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 (arg1
)->UsePrimarySelection(arg2
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 Py_INCREF(Py_None
); resultobj
= Py_None
;
27261 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxClipboard
*result
;
27264 char *kwnames
[] = {
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (wxClipboard
*)wxClipboard::Get();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27283 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27286 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27288 return Py_BuildValue((char *)"");
27290 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27293 wxClipboardLocker
*result
;
27294 PyObject
* obj0
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "clipboard", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27318 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27371 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27374 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27376 return Py_BuildValue((char *)"");
27378 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 int arg1
= (int) 0 ;
27381 int arg2
= (int) 0 ;
27382 int arg3
= (int) 0 ;
27383 int arg4
= (int) 0 ;
27384 wxVideoMode
*result
;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 PyObject
* obj2
= 0 ;
27388 PyObject
* obj3
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27395 arg1
= (int) SWIG_AsInt(obj0
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27399 arg2
= (int) SWIG_AsInt(obj1
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27403 arg3
= (int) SWIG_AsInt(obj2
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27407 arg4
= (int) SWIG_AsInt(obj3
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27424 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 char *kwnames
[] = {
27429 (char *) "self", NULL
27432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 Py_INCREF(Py_None
); resultobj
= Py_None
;
27449 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27452 wxVideoMode
*arg2
= 0 ;
27454 PyObject
* obj0
= 0 ;
27455 PyObject
* obj1
= 0 ;
27456 char *kwnames
[] = {
27457 (char *) "self",(char *) "other", NULL
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27466 if (arg2
== NULL
) {
27467 PyErr_SetString(PyExc_TypeError
,"null reference");
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27486 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_FromInt((int)result
);
27512 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27516 PyObject
* obj0
= 0 ;
27517 char *kwnames
[] = {
27518 (char *) "self", NULL
27521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_FromInt((int)result
);
27538 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 resultobj
= SWIG_FromInt((int)result
);
27564 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27592 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27595 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "other", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27624 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27627 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self",(char *) "other", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27656 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "w", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 arg2
= (int) SWIG_AsInt(obj1
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27671 if (arg1
) (arg1
)->w
= arg2
;
27673 Py_INCREF(Py_None
); resultobj
= Py_None
;
27680 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27681 PyObject
*resultobj
;
27682 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 result
= (int) ((arg1
)->w
);
27694 resultobj
= SWIG_FromInt((int)result
);
27701 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 PyObject
* obj1
= 0 ;
27707 char *kwnames
[] = {
27708 (char *) "self",(char *) "h", NULL
27711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27714 arg2
= (int) SWIG_AsInt(obj1
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27716 if (arg1
) (arg1
)->h
= arg2
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 result
= (int) ((arg1
)->h
);
27739 resultobj
= SWIG_FromInt((int)result
);
27746 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self",(char *) "bpp", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27759 arg2
= (int) SWIG_AsInt(obj1
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27761 if (arg1
) (arg1
)->bpp
= arg2
;
27763 Py_INCREF(Py_None
); resultobj
= Py_None
;
27770 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27774 PyObject
* obj0
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27782 result
= (int) ((arg1
)->bpp
);
27784 resultobj
= SWIG_FromInt((int)result
);
27791 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27795 PyObject
* obj0
= 0 ;
27796 PyObject
* obj1
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self",(char *) "refresh", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27804 arg2
= (int) SWIG_AsInt(obj1
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27806 if (arg1
) (arg1
)->refresh
= arg2
;
27808 Py_INCREF(Py_None
); resultobj
= Py_None
;
27815 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27819 PyObject
* obj0
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 result
= (int) ((arg1
)->refresh
);
27829 resultobj
= SWIG_FromInt((int)result
);
27836 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27839 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27841 return Py_BuildValue((char *)"");
27843 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27844 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27849 static PyObject
*_wrap_DefaultVideoMode_get() {
27852 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27857 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27859 size_t arg1
= (size_t) 0 ;
27861 PyObject
* obj0
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "index", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27868 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 result
= (wxDisplay
*)new wxDisplay(arg1
);
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27885 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 char *kwnames
[] = {
27890 (char *) "self", NULL
27893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 Py_INCREF(Py_None
); resultobj
= Py_None
;
27910 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27913 char *kwnames
[] = {
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27920 result
= (size_t)wxDisplay::GetCount();
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27932 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxPoint
*arg1
= 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "pt", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27945 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_FromInt((int)result
);
27961 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "window", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (int)Display_GetFromWindow(arg1
);
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= SWIG_FromInt((int)result
);
27987 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27991 PyObject
* obj0
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28015 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28035 wxRect
* resultptr
;
28036 resultptr
= new wxRect((wxRect
&) result
);
28037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28045 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 char *kwnames
[] = {
28051 (char *) "self", NULL
28054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= ((wxDisplay
const *)arg1
)->GetName();
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28077 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
;
28079 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28081 PyObject
* obj0
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28105 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28106 PyObject
*resultobj
;
28107 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28108 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28109 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28111 PyObject
* obj0
= 0 ;
28112 PyObject
* obj1
= 0 ;
28113 char *kwnames
[] = {
28114 (char *) "self",(char *) "mode", NULL
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28124 if (arg2
== NULL
) {
28125 PyErr_SetString(PyExc_TypeError
,"null reference");
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= result
;
28143 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28146 wxVideoMode result
;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28163 wxVideoMode
* resultptr
;
28164 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28173 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
;
28175 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28176 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28177 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self",(char *) "mode", NULL
28185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28192 if (arg2
== NULL
) {
28193 PyErr_SetString(PyExc_TypeError
,"null reference");
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28213 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 (arg1
)->ResetMode();
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28241 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28243 return Py_BuildValue((char *)"");
28245 static PyMethodDef SwigMethods
[] = {
28246 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28253 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28260 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28320 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28328 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28344 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28349 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28352 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28355 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28361 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28375 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28381 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28387 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28390 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28404 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28407 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28408 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28411 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28438 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28440 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28442 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28444 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28451 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28457 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28470 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28475 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28478 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28495 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28503 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28549 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28577 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28587 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28603 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28619 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28633 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28642 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28685 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28688 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28691 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28695 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28787 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28788 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28789 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28790 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28791 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28792 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28793 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28794 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28795 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28796 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28807 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28852 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28886 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28894 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28895 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28900 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28909 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28916 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28919 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28922 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28927 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28930 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28934 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28937 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28941 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28946 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28950 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28954 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28964 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28975 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28983 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28991 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29005 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29009 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29027 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29047 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29050 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29051 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29053 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29054 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29056 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29057 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29059 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29060 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29062 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29063 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29065 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29066 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29068 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29069 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29071 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29074 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29075 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29077 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29078 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29080 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29081 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29083 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29084 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29086 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29089 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29090 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29092 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29093 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29095 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29096 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29098 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29099 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29101 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29102 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29104 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29105 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29107 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29108 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29110 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29111 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29113 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29116 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29117 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29119 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29120 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29122 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29123 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29125 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29126 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29128 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29129 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29131 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29132 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29134 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29137 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29138 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29140 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29141 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29143 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29144 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29146 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29149 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29152 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29153 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29155 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29156 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29158 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29159 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29161 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29162 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29164 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29165 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29167 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29168 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29170 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29171 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29173 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29174 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29176 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29177 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29179 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29180 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29182 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29183 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29185 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29186 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29188 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29189 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29191 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29192 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29194 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29195 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29197 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29198 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29200 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29201 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29203 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29204 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29206 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29207 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29209 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29210 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29212 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29213 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29215 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29216 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29218 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29219 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29221 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29222 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29224 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29225 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29227 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29228 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29230 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29231 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29233 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29234 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29236 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29237 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29239 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29242 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29243 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29245 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29246 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29248 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29249 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29251 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29252 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29254 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29255 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29257 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29258 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29260 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29261 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29263 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29264 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29266 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29269 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29272 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29275 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29278 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29281 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29282 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29284 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29285 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29287 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29288 return (void *)((wxObject
*) ((wxSizer
*) x
));
29290 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29293 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29296 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29299 static void *_p_wxEventTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) ((wxEvent
*) x
));
29302 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29305 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29308 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29309 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29311 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29312 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29314 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29315 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29317 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29320 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29323 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29326 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29329 static void *_p_wxControlTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29332 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29335 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29338 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29341 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29344 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29347 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29348 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29350 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29353 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29354 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29356 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29357 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29359 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29360 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29362 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29363 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29365 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29368 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29369 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29371 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29372 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29374 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29375 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29377 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29378 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29380 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29381 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29383 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29384 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29386 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29387 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29389 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29390 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29392 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29393 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29395 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29396 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29398 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29399 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29401 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29404 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29405 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29407 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29408 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29410 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29411 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29413 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29416 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29417 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29419 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29422 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29423 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29425 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29426 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29428 static void *_p_wxImageTo_p_wxObject(void *x
) {
29429 return (void *)((wxObject
*) ((wxImage
*) x
));
29431 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29432 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29434 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29435 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29437 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29438 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29440 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29443 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29444 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29446 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29447 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29449 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29450 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29452 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29453 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29455 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29458 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29459 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29461 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29462 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29464 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29467 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29468 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29470 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29471 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29473 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29474 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29476 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29477 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29479 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29480 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29482 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29483 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29485 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29488 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29489 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29491 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29492 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29494 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29495 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29497 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29500 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29501 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29503 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29506 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29509 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29510 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29512 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29513 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29515 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29516 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29518 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29519 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29521 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29522 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29524 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29525 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29527 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29528 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29530 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29531 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29533 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29534 return (void *)((wxWindow
*) ((wxControl
*) x
));
29536 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29537 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29539 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29540 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29542 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29543 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29545 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29546 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 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}};
29629 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}};
29630 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}};
29631 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}};
29632 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}};
29633 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}};
29635 static swig_type_info
*swig_types_initial
[] = {
29636 _swigt__p_wxLogChain
,
29637 _swigt__p_wxMutexGuiLocker
,
29638 _swigt__p_wxMetafile
,
29639 _swigt__p_wxFileHistory
,
29641 _swigt__p_wxDateTime__TimeZone
,
29644 _swigt__p_wxConfigBase
,
29645 _swigt__p_wxDisplay
,
29646 _swigt__p_wxFileType
,
29647 _swigt__p_wxLogGui
,
29649 _swigt__p_wxDataFormat
,
29650 _swigt__p_wxTimerEvent
,
29654 _swigt__p_wxClipboard
,
29655 _swigt__p_wxStopWatch
,
29657 _swigt__p_wxClipboardLocker
,
29659 _swigt__p_wxLogStderr
,
29660 _swigt__p_wxLogTextCtrl
,
29661 _swigt__p_wxTextCtrl
,
29662 _swigt__p_wxBusyCursor
,
29663 _swigt__p_wxPyBitmapDataObject
,
29664 _swigt__p_wxPyTextDataObject
,
29665 _swigt__p_wxBitmapDataObject
,
29666 _swigt__p_wxTextDataObject
,
29667 _swigt__p_wxDataObject
,
29668 _swigt__p_wxFileDataObject
,
29669 _swigt__p_wxCustomDataObject
,
29670 _swigt__p_wxURLDataObject
,
29671 _swigt__p_wxMetafileDataObject
,
29673 _swigt__p_wxTimerRunner
,
29674 _swigt__p_wxLogWindow
,
29675 _swigt__p_wxTimeSpan
,
29676 _swigt__p_wxArrayString
,
29677 _swigt__p_wxWindowDisabler
,
29678 _swigt__p_wxToolTip
,
29679 _swigt__p_wxDataObjectComposite
,
29680 _swigt__p_wxFileConfig
,
29681 _swigt__p_wxSystemSettings
,
29682 _swigt__p_wxVideoMode
,
29683 _swigt__p_wxPyDataObjectSimple
,
29684 _swigt__p_wxDataObjectSimple
,
29685 _swigt__p_wxEvtHandler
,
29688 _swigt__p_wxSingleInstanceChecker
,
29689 _swigt__p_wxFileTypeInfo
,
29692 _swigt__p_wxMimeTypesManager
,
29693 _swigt__p_wxPyArtProvider
,
29694 _swigt__p_wxPyTipProvider
,
29695 _swigt__p_wxTipProvider
,
29696 _swigt__p_wxJoystick
,
29697 _swigt__p_wxSystemOptions
,
29699 _swigt__p_wxJoystickEvent
,
29700 _swigt__p_wxCursor
,
29701 _swigt__p_wxObject
,
29702 _swigt__p_wxOutputStream
,
29703 _swigt__p_wxDateTime
,
29704 _swigt__p_wxPyDropSource
,
29705 _swigt__p_wxWindow
,
29706 _swigt__p_wxString
,
29707 _swigt__p_wxPyProcess
,
29708 _swigt__p_wxBitmap
,
29709 _swigt__p_wxConfig
,
29711 _swigt__p_wxBusyInfo
,
29712 _swigt__p_wxPyDropTarget
,
29713 _swigt__p_wxPyTextDropTarget
,
29714 _swigt__p_wxPyFileDropTarget
,
29715 _swigt__p_wxProcessEvent
,
29717 _swigt__p_wxLogNull
,
29718 _swigt__p_wxColour
,
29719 _swigt__p_wxConfigPathChanger
,
29720 _swigt__p_wxPyTimer
,
29721 _swigt__p_wxDateSpan
,
29726 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29728 static swig_const_info swig_const_table
[] = {
29729 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29730 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29731 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29732 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29733 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29743 SWIGEXPORT(void) SWIG_init(void) {
29744 static PyObject
*SWIG_globals
= 0;
29745 static int typeinit
= 0;
29748 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29749 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29750 d
= PyModule_GetDict(m
);
29753 for (i
= 0; swig_types_initial
[i
]; i
++) {
29754 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29758 SWIG_InstallConstants(d
,swig_const_table
);
29760 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29761 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29762 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29763 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29764 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29765 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29766 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29767 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29768 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29769 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29770 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29771 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29772 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29773 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29774 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29775 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29776 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29777 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29778 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29779 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29780 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29781 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29782 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29783 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29784 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29785 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29786 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29787 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29788 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29789 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29790 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29791 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29792 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29793 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29794 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29795 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29796 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29797 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29798 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29799 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29800 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29801 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29802 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29803 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29804 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29805 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29806 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29807 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29808 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29809 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29810 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29811 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29812 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29813 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29814 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29815 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29816 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29817 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29818 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29819 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29820 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29821 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29822 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29823 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29824 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29825 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29826 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29827 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29828 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29829 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29830 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29831 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29832 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29833 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29834 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29835 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29836 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29837 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29838 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29839 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29840 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29841 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29842 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29843 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29844 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29845 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29846 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29847 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29848 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29849 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29850 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29851 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29852 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29853 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29854 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29855 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29856 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29857 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29858 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29859 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29861 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29863 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29864 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29865 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29866 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29867 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29868 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29869 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29870 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29871 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29872 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29873 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29874 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29875 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29876 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29877 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29878 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29879 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29880 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29881 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29882 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29883 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29884 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29885 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29886 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29887 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29888 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29889 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29890 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29891 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29892 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29893 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29894 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29895 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29896 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29897 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29898 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29899 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29900 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29901 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29902 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29903 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29904 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29905 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29906 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29907 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29908 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29909 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29910 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29911 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29912 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29914 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29916 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29917 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29918 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29919 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29920 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29921 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29922 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29923 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29924 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29925 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29926 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29927 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29928 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29929 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29930 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29931 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29932 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29933 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29934 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29935 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29936 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29937 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29938 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29945 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29946 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29947 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29948 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29949 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29950 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29951 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29952 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29953 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29954 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29955 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29956 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29957 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29958 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29959 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29960 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29961 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29962 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29963 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29964 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29965 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29966 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29967 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29968 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29969 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29970 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29971 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29972 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29973 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29975 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29977 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29978 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29979 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29980 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29981 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29982 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29983 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29984 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29985 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29986 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29987 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29988 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29989 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29990 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29991 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29992 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29993 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29994 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29995 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29996 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29997 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29998 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29999 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30000 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30001 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30002 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30003 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30004 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30005 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30006 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30007 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30008 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30009 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30010 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30011 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30012 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30013 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30014 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30015 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30016 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30017 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30018 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30019 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30020 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30021 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30022 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30023 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30024 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30025 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30026 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30027 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30028 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30029 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30030 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30031 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30032 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30033 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30034 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30035 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30036 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30037 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30038 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30039 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30040 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30041 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30042 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30043 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30044 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30045 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30046 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30047 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30048 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30049 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30050 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30051 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30052 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30053 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30054 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30055 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30056 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30057 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30058 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30059 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30060 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30061 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30062 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30063 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30064 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30065 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30066 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30067 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30068 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30069 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30070 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30071 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30072 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30073 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30074 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30075 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30076 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30077 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30078 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30079 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30080 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30081 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30082 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30083 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30084 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30085 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30086 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30087 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30088 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30089 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30090 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30091 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30092 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30093 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30094 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30095 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30096 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30097 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30098 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30099 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30100 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30101 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30102 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30103 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30104 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30105 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30106 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30107 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30108 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30109 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30110 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30111 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30112 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30113 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30114 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30115 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30116 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30117 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30118 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30119 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30120 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30121 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30122 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30123 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30124 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30125 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30126 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30127 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30128 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30129 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30130 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30131 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30132 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30133 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30134 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30135 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30136 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30137 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30138 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30139 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30140 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30141 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30142 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30143 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30144 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30145 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30146 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30147 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30148 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30149 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30150 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30151 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30152 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30153 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30154 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30155 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30156 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30157 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30158 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30159 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30160 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30161 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30162 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30163 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30164 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30165 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30166 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30167 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30168 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30169 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30170 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30171 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30172 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30173 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30174 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30175 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30176 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30178 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30179 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30180 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30181 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30183 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);